montesheet icon indicating copy to clipboard operation
montesheet copied to clipboard

Demo error

Open r-barnes opened this issue 4 years ago • 4 comments

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 avatar Nov 16 '21 07:11 r-barnes

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

r-barnes avatar Nov 16 '21 07:11 r-barnes

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

r-barnes avatar Nov 16 '21 07:11 r-barnes

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>

r-barnes avatar Nov 16 '21 07:11 r-barnes

Super late response but you can try my project, it is a recreation (reimplementation?) of Montesheet in python: Link

Topping1 avatar Feb 06 '25 04:02 Topping1