Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import TeslaWheels from '../components/TeslaWheels/TeslaWheels';
import { connect } from 'react-redux';
import { changeWheel } from '../actions'
const mapStateToProps = (state) => {
return {
value: state.config.wheels
const mapDispatchToProps = (dispatch) => {
return {
changeHandler:(size) => {
const TeslaWheelsContainer = connect(mapStateToProps, mapDispatchToProps)(TeslaWheels)
export default TeslaWheelsContainer;

This comment has been minimized.

Copy link

@backsy backsy commented Aug 10, 2017

Line 13 needs to be handleChangeWheels:(size) => {
Image on tutorial is correct and also redux tutorial project on github.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.