Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demo error #1

Open
r-barnes opened this issue Nov 16, 2021 · 3 comments
Open

Demo error #1

r-barnes opened this issue Nov 16, 2021 · 3 comments

Comments

@r-barnes
Copy link

This is super cool!

But on the demo I'm seeing the error

react-dom.production.min.js:216 TypeError: Cannot read properties of null (reading 'A1')
@r-barnes
Copy link
Author

Oddly, this occurs on Chrome on both my Linux and Mac machines, but not Chrome on my Android.

@r-barnes
Copy link
Author

Firefox on my Linux machine is also failing in the same way with no extensions present.

@r-barnes
Copy link
Author

Running in dev mode from the CLI shows that the error happens at:

   4 | import { ThemeProvider } from "./../util/theme.js";
   5 | 
   6 | function App(props) {
>  7 |   const [title, setTitle] = useState(JSON.parse(localStorage.getItem("montesheet"))['A1'] || "Montesheet");
   8 | 
   9 |   return (
  10 |     <ThemeProvider>

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

No branches or pull requests

1 participant