export default async function Home()

in src/app/(authenticated)/reporting/chat/[id]/page.tsx [11:23]


export default async function Home(props: HomeParams) {
  const [chatResponse] = await Promise.all([
    FindAllChatMessagesForAdmin(props.params.id),
  ]);

  if (chatResponse.status !== "OK") {
    return <DisplayError errors={chatResponse.errors} />;
  }

  return (
    <ReportingChatPage chatDocuments={[]} messages={chatResponse.response} />
  );
}