diff --git a/src/hooks/useLocalStorage.tsx b/src/hooks/useLocalStorage.tsx index dd1ded94..ebf00faf 100644 --- a/src/hooks/useLocalStorage.tsx +++ b/src/hooks/useLocalStorage.tsx @@ -29,7 +29,7 @@ const useLocalStorageSubscribe = (callback: (event: StorageEvent) => void) => { const getLocalStorageServerSnapshot = () => { // throw Error('useLocalStorage is a client-only hook'); - return '{}'; + return null; }; export function useLocalStorage(key: string, initialValue: T) {