Skip to content

fix(sessison): safe usage of localStorage (#519)#521

Open
HugoMuller wants to merge 1 commit into
atinux:mainfrom
HugoMuller:519-safe-local-storage
Open

fix(sessison): safe usage of localStorage (#519)#521
HugoMuller wants to merge 1 commit into
atinux:mainfrom
HugoMuller:519-safe-local-storage

Conversation

@HugoMuller

Copy link
Copy Markdown

Wrap calls to localStorage in try/catch, so that the app does not crash during the app mounting.

Fixes #519

@HugoMuller

Copy link
Copy Markdown
Author

Hi @atinux, any chance to get a review on this PR? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Safe usage of localStorage?

1 participant