refactor settings to nanostores

This commit is contained in:
Felix Roos 2023-02-22 22:04:39 +01:00
parent ff99dbcd22
commit b67b049802
11 changed files with 81 additions and 122 deletions

View file

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