diff --git a/src/App.jsx b/src/App.jsx index cb50254..84b6623 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -10,7 +10,7 @@ const App = (props) => { const noteObject = { content: newNote, important: Math.random() > 0.5, - id: String(notes.length + 1), + id: notes.length + 1, } setNotes(notes.concat(noteObject))