DEV Community

Discussion on: Redux is easier than you think

Collapse
 
aroc725 profile image
Vance • Edited

I can't get 'TodoMain.js' to compile, I'm getting the following error message about the 'addTodo' method:

Failed to compile.

./src/components/TodoMain.js
Line 18:7: 'e' is not defined no-undef
Line 19:4: 'todos' is not defined no-undef

Any ideas as to how to resolve these errors?