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 trialTilak Gajjar
521 Pointsprops.removeGuestAt is not a function - compile time error
Remove button is not working, it is showing me an error that "props.removeGuestAt is not a function" at GuestList.js file. Please help me get through this.
2 Answers
Jesus Mendoza
23,289 PointsHey Tilak. Can you show us your code?
Tilak Gajjar
521 PointsIn app.js <GuestList> removeGuestAt: {this.removeGuestAt}</GuestList>
I made a mistake before and wrote this.state.removeGuestAt instead of this.removeGuestAt. Now remove functionality is working.
Tilak Gajjar
521 PointsTilak Gajjar
521 Points