From 557970e09da2587e92621033804b20758a9200fe Mon Sep 17 00:00:00 2001 From: Randall Stillwell Date: Wed, 3 Jun 2026 17:03:57 -0500 Subject: [PATCH] Default hook params for prerender safety Co-authored-by: Cursor --- lib/use-collections-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/use-collections-page.js b/lib/use-collections-page.js index e2130a2..e2b24f1 100644 --- a/lib/use-collections-page.js +++ b/lib/use-collections-page.js @@ -5,7 +5,7 @@ import { VOCAB, collectionDisplayName } from './collection-vocabulary.js'; /** * Card/collection page state and handlers (god-component split). */ -export function useCollectionsPage({ user, authLoading }) { +export function useCollectionsPage({ user = null, authLoading = true } = {}) { const router = useRouter(); useEffect(() => {