fix error

This commit is contained in:
NilsUeter
2024-04-07 21:57:06 +02:00
parent 54049b0d35
commit 0c89ed6ddc
+1 -1
View File
@@ -8,7 +8,7 @@ export function useLocalStorage(key, initValue) {
}
if (initValue) {
trySettingLocalStorage(key, initValue, setState);
trySettingLocalStorage(key, initValue, () => {});
}
return initValue;
});