We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64f4467 commit 7dc2077Copy full SHA for 7dc2077
index.js
@@ -806,10 +806,6 @@ export function useLogger(name, ...rest) {
806
}, []);
807
}
808
809
-const dispatchStorageEvent = (key, newValue) => {
810
- window.dispatchEvent(new StorageEvent("storage", { key, newValue }));
811
-};
812
-
813
const setLocalStorageItem = (key, value) => {
814
const stringifiedValue = JSON.stringify(value);
815
window.localStorage.setItem(key, stringifiedValue);
0 commit comments