Local storage initialization problem

I found that if there is no data in the local storage, when running localStorage.clear, I get the error as shown below.

This is due to the lack of customAppData in the browser's local storage.
The following figure shows the local storage after running setValue.

I hope you guys check if there is customAppData in the browser local storage when the app is initialized, thanks.

Hey @gscc!

I've tried reproducing the error report you're seeing but haven't had any luck so far:

What version of Retool are you on? And could you maybe share a recording where you demonstrate the error? Or do you see anything in the GIF above that's different from what you're doing?