diff --git a/src/content/2/en/part2b.md b/src/content/2/en/part2b.md index 711b5c3f076..5c7f2a810c8 100644 --- a/src/content/2/en/part2b.md +++ b/src/content/2/en/part2b.md @@ -235,7 +235,7 @@ const addNote = (event) => { const noteObject = { content: newNote, important: Math.random() < 0.5, - id: String(notes.length + 1), + id: notes.length + 1, } setNotes(notes.concat(noteObject))