website
website copied to clipboard
error in REPL
I can't load the REPL and I'm seeing in the console
TypeError: Cannot read property 'isEnabled' of undefined
at t.value (repl.js:1)
at m (react-dom.production.min.js:129)
at beginWork (react-dom.production.min.js:136)
at e (react-dom.production.min.js:168)
at f (react-dom.production.min.js:169)
at A (react-dom.production.min.js:175)
at t (react-dom.production.min.js:174)
at x (react-dom.production.min.js:173)
at y (react-dom.production.min.js:172)
at D (react-dom.production.min.js:171)
@xtuc It is a known bug due to miss matching state shape between local storage and the sources. As a workaround, you can clear site storage from the devTools.
Ok, thanks.
Are we able to clear local storage for the user upon an error like this?
@hzoo Yeah we should check the shape before error is thrown.