export const dynamic = 'force-dynamic' import Link from 'next/link' interface Props { searchParams: Promise<{ ref?: string }> } export default async function ReportSuccessPage({ searchParams }: Props) { const { ref } = await searchParams return (

Report submitted

{ref && (

Reference: {ref}

)}

The supervisor and HSE officer have been notified.

Submit another report
) }