From 52223c622b6efcbf50ce7dfc789ac0d8a267498c Mon Sep 17 00:00:00 2001 From: Mike Bifulco Date: Sat, 4 Jan 2025 14:37:56 -0500 Subject: [PATCH] fix: I think this broke everything --- src/hooks/useLocalStorage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {