refactor(collections): useCollectionsPage + view (Brief 3) #87

Merged
varutasu merged 2 commits from refactor/collections-page-split-brief-3 into main 2026-06-03 18:10:17 -04:00
Showing only changes of commit 557970e09d - Show all commits

View file

@ -5,7 +5,7 @@ import { VOCAB, collectionDisplayName } from './collection-vocabulary.js';
/** /**
* Card/collection page state and handlers (god-component split). * Card/collection page state and handlers (god-component split).
*/ */
export function useCollectionsPage({ user, authLoading }) { export function useCollectionsPage({ user = null, authLoading = true } = {}) {
const router = useRouter(); const router = useRouter();
useEffect(() => { useEffect(() => {