refactor(collections): useCollectionsPage + view (Brief 3) #87
1 changed files with 1 additions and 1 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue