Update LocalStorage.tsx
This commit is contained in:
parent
6b622d0d2e
commit
7d21ac06a3
1 changed files with 1 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ export const LocalStorageProvider: React.FC<{ children: React.ReactNode }> = ({
|
|||
}) => {
|
||||
const [values, setValues] = useState<LocalStorageType>(DEFAULT_LOCAL_STORAGE);
|
||||
|
||||
// TODO setvalue
|
||||
useEffect(() => {
|
||||
const isJetbrains = getLocalStorage("ide") === "jetbrains";
|
||||
let fontSize = getLocalStorage("fontSize") ?? (isJetbrains ? 15 : 14);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue