Video 27
This commit is contained in:
1 parent
fe88e6f92f
commit
b2665bbfb4
1 file changed
-2
@@ -5,8 +5,6 @@ const addNote = (title, body) => {
|
||||
const notes = loadNotes();
|
||||
const duplicateNote = notes.find((note) => note.title === title);
|
||||
|
||||
debugger;
|
||||
|
||||
if (!duplicateNote) {
|
||||
notes.push({
|
||||
title: title,
|
||||
|
||||
Reference in new issue
Block a user