"use client"; export function StatusBanner({ status, error, }: { status: string | null; error: string | null; }) { if (!status && !error) return null; if (error) { return (
{error}
); } return (
{status}
); }