You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since each note is an object, setting notes[index].completed property is mutating the note object. Instead, we should create a new note object like this:
I think you are mutating the state at the following lines:
full-stack-serverless-code/graphql/src/App.js
Lines 83 to 84 in 44c4eb2
Since each
note
is an object, settingnotes[index].completed
property is mutating thenote
object. Instead, we should create a newnote
object like this:The text was updated successfully, but these errors were encountered: