Skip to content

Comments

Fix "undefined is not valid JSON" error#5

Open
danushkap wants to merge 1 commit intogitdagray:mainfrom
danushkap:main
Open

Fix "undefined is not valid JSON" error#5
danushkap wants to merge 1 commit intogitdagray:mainfrom
danushkap:main

Conversation

@danushkap
Copy link

This fix addresses the JSON.parse() error when the localStorage.getItem(key) returns 'undefined'

This fix addresses the JSON.parse() error when the localStorage.getItem(key) returns 'undefined'
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.

1 participant