import { Card } from '@/components/ui/shared/Card';

interface TodaySectionErrorFallbackProps {
  message: string;
}

export function TodaySectionErrorFallback({ message }: TodaySectionErrorFallbackProps) {
  return (
    <Card className="min-h-[120px] flex items-center justify-center border-badge-danger-border/40 bg-badge-danger-bg/20">
      <p className="text-sm text-badge-danger-fg text-center px-4">{message}</p>
    </Card>
  );
}
