move isZen to nanostore

+ correctly parse non strings in store
This commit is contained in:
Felix Roos 2023-02-22 22:47:33 +01:00
parent 70f7e73b9a
commit 0006d57a4a
5 changed files with 17 additions and 12 deletions

View file

@ -136,7 +136,7 @@ export default function CodeMirror({
return staticExtensions;
}, [keybindings]);
return (
<div style={{ fontSize: parseInt(fontSize), fontFamily }} className="w-full">
<div style={{ fontSize, fontFamily }} className="w-full">
<_CodeMirror
value={value}
theme={theme || strudelTheme}