'use client'; import Link from 'next/link'; import { useApi } from '@/lib/useApi'; import { SetPageHeader } from '@/components/layout/SetPageHeader'; import { Icon } from '@/components/ui/Icon'; import type { IconName } from '@/components/ui/Icon'; export default function MedicinesPage() { const { householdId, isLoading: sessionLoading } = useApi(); if (sessionLoading) { return ( <> ); } if (!householdId) { return ( <>

You need to{' '} create or join a household {' '} before managing medicines.

); } return ( <>
); } function SectionCard({ title, description, href, icon, }: { title: string; description: string; href: string; icon: IconName; }) { return (
{title}
{description}
); } function PageSkeleton() { return (
{Array.from({ length: 9 }).map((_, i) => (
))}
); }