blueberryapps/react-bluekit

Page doesn't load if bluekitSelectedAtom Local Storage property isn't a valid Component name

Closed this issue · 1 comments

This can be replicated by setting the bluekitSelectedAtom property in Local Storage to a random string, and refreshing the page.

localStorage.setItem('bluekitSelectedAtom', 'asdf');

This issue arose after I renamed a component whilst BlueKit was open and focused on that component.

I believe I've got a fix for this, if you're happy for me to then I'll submit a PR once I've tested it.