DEV Community

loading...

Discussion on: Local storage question

Collapse
khrome83 profile image
Zane Milakovic

The code is hard to read. Can you update with a formatted block. Wrap the code in three back ticks on the top and bottom, also called a code fence in markdown.

I think the issue may be in the shape of the object that is being returned. Can you share that object?

Is there somewhere else where you handle adding a note, if nothing exists already in local storage?

Collapse
manuelalonge profile image
Manuel Alonge Author

Hi, I am trying with the above code now (I wrapped it following your suggestion, thanks)