'use client'; import Link from 'next/link'; import { useApi } from '@/lib/useApi'; export default function MedicinesPage() { const { householdId, isLoading: sessionLoading } = useApi(); if (sessionLoading) { return ; } if (!householdId) { return (

Medicines

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

); } return (

Medicines

); } function SectionCard({ title, description, href, }: { title: string; description: string; href: string; }) { return (

{title}

{description}

); } function PageSkeleton() { return (

Medicines

{Array.from({ length: 9 }).map((_, i) => (
))}
); }