Update LocalStorage.tsx

This commit is contained in:
Patrick Erichsen 2025-05-15 19:58:15 -07:00
parent 6b622d0d2e
commit 7d21ac06a3

View file

@ -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);