Skip to content

Instantly share code, notes, and snippets.

@chardos
Created December 11, 2018 11:32
Show Gist options
  • Save chardos/ba6d1d6c4be566ebbc9a1660cae41238 to your computer and use it in GitHub Desktop.
Save chardos/ba6d1d6c4be566ebbc9a1660cae41238 to your computer and use it in GitHub Desktop.
import React from "react";
import { connect } from "react-redux";
const Sports = props => {
return <div>Sports</div>;
};
const mapStateToProps = ({ volleyball, soccer }) => ({
volleyball,
soccer
});
export default connect(mapStateToProps)(Sports);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment