'use client'; import { useApi } from '@/lib/useApi'; import { SetPageHeader } from '@/components/layout/SetPageHeader'; import { RecipeList } from './RecipeList'; function PageSkeleton() { return (
{[...Array(3)].map((_, i) => (
))}
); } function NoHousehold() { return (

You need to create or join a household before managing recipes.

); } export default function RecipesPage() { const { householdId, isLoading } = useApi(); if (isLoading) { return ( <> ); } if (!householdId) { return ( <> ); } return ( <> ); }