Intermediate Part2: addTodo POST gets canceled


I’m stuck on #15 “Mutating Data”. I don’t see any errors in my code, the URL looks fine, but for some reason my post request gets canceled. Anyone else getting this error?


Chrome Network tab:

Figured out the problem: in the submit function on the form, I didn’t add parentheses after calling the event.default() function.

Failed code: event.default
Successful code: event.default()