mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
I'm 92% sure this is intentional
This commit is contained in:
parent
36f204958e
commit
2760a8451f
|
@ -22,6 +22,7 @@ export const useLocalStorage = <T>(
|
|||
try {
|
||||
localStorage.setItem(appName, JSON.stringify(newValue));
|
||||
} catch { }
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, []);
|
||||
|
||||
return [value, setStoredValue];
|
||||
|
|
Loading…
Reference in a new issue