diff --git a/website/app/src/useLocalStorage.hook.ts b/website/app/src/useLocalStorage.hook.ts index be7a1696..c60ac8ef 100644 --- a/website/app/src/useLocalStorage.hook.ts +++ b/website/app/src/useLocalStorage.hook.ts @@ -1,4 +1,4 @@ -import { useCallback, useEffect, useState } from "react"; +import { useCallback, useState } from "react"; export const useLocalStorage = ( defaultValue: T, @@ -21,7 +21,7 @@ export const useLocalStorage = ( setValue(newValue); try { localStorage.setItem(appName, JSON.stringify(newValue)); - } catch {} + } catch { } }, []); return [value, setStoredValue];