1
0
This commit is contained in:
Jason Williams 2019-08-19 15:57:43 -06:00
parent fe88e6f92f
commit b2665bbfb4

View File

@ -5,8 +5,6 @@ const addNote = (title, body) => {
const notes = loadNotes(); const notes = loadNotes();
const duplicateNote = notes.find((note) => note.title === title); const duplicateNote = notes.find((note) => note.title === title);
debugger;
if (!duplicateNote) { if (!duplicateNote) {
notes.push({ notes.push({
title: title, title: title,