diff --git a/app/(protected)/reporter/page.tsx b/app/(protected)/reporter/page.tsx index eb11791..d7a2e9b 100644 --- a/app/(protected)/reporter/page.tsx +++ b/app/(protected)/reporter/page.tsx @@ -95,11 +95,13 @@ export default async function ReporterPage() { {siteName ? ` · ${siteName}` : ''} {inc.severity ? ` · Severity ${inc.severity}` : ''}

-

- {new Date(inc.reported_at as string).toLocaleDateString('en-MY', { - day: 'numeric', month: 'short', year: 'numeric', - })} -

+ {inc.reported_at && ( +

+ {new Date(inc.reported_at as string).toLocaleDateString('en-MY', { + day: 'numeric', month: 'short', year: 'numeric', + })} +

+ )} {STATUS_LABELS[inc.status] ?? inc.status}