bradtraversy/react-crash-2021

nothing happens when adding a task

lovodkin93 opened this issue · 4 comments

Hey,
I am trying to follow your crash course, using your git code which I cloned.
I am running it on localhost:3000 (changed all the localhost:5000 in the App.js file to localhost:3000), as the localhost:5000 version constantly crashed.
The problem is, when I add a task and press the save button, nothing really happens - I just to back to the empty submitting page all over again.
What am I missing here?
Thanks!

same issue here

Same issue, I've tried so many times to fix it, but nothing works :c

I had the same then realised I had an issue with the e.preventDefault() - I had e.prevent.Default() which is wrong - changed to e.preventDefault() and it was all good.