Skip to content

Instantly share code, notes, and snippets.

@gyver98
Last active March 17, 2017 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gyver98/065b988b03b0c823f7d8373f2235ec1e to your computer and use it in GitHub Desktop.
Save gyver98/065b988b03b0c823f7d8373f2235ec1e to your computer and use it in GitHub Desktop.
import TeslaStats from '../components/TeslaStats/TeslaStats';
import { connect } from 'react-redux';
const mapStateToProps = (state) => {
return {
carstats: state.carstats
}
}
const TeslaStatsContainer = connect(mapStateToProps, null)(TeslaStats)
export default TeslaStatsContainer;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment