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
I hope you guys check if there is
customAppData in the browser local storage when the app is initialized, thanks.