Video 27
This commit is contained in:
parent
fe88e6f92f
commit
b2665bbfb4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user