Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJordan Dobson
6,874 PointsI am getting this error: undefined is not an object (evaluating 'this.props.actions.setTeamName')
It looks like it is coming from the handleSubmit function as it leads me to that in the WelcomeContainer.js and WelcomeForm.js files
I've checked each file for accuracy/syntax issues, ran npm install, gone back through the video a few times, etc. Nothing seems to work for me.
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsI think it's a capital A in Actions
.
So,
this.props.Actions.setTeamName(teamName);
Jordan Dobson
6,874 PointsIt's always something simple you can't see isn't it?
Greg Kaleka
39,021 PointsGreg Kaleka
39,021 PointsCan you please post your code? Maybe take a snapshot of your workspace if you have one and share it here.