--- interface Props { error: string | null; } const { error } = Astro.props as Props; ---
{ error && (
{error}
) }