Updating an app state variable of custom data type

Resolved

Hi team,

I'm creating a notes app, and I'd like to add subnotes to specific notes and save all note data in local storage. Can someone please help me with this?

I'm adding three fields to each note, and two fields to each subnote.

6 replies