From 50d6dc7c37180cf87af2a3ff2cf0a8a46e50f2ad Mon Sep 17 00:00:00 2001 From: Louis Sanna Date: Sat, 9 Dec 2023 16:51:18 +0100 Subject: [PATCH] feat(dossier): remove async call to avoid conflict --- app/dossiers/page.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/dossiers/page.tsx b/app/dossiers/page.tsx index 7b892d0..36d4974 100644 --- a/app/dossiers/page.tsx +++ b/app/dossiers/page.tsx @@ -1,14 +1,10 @@ -import { getDossiers } from "@/repository/database"; import Link from "next/link"; export default async function Dossiers() { - const dossiers = await getDossiers(); // TODO: match old website url ":id/dossiers/:id" return (
Lien vers un dossier -

Rows from the Dossier Table:

-
{JSON.stringify(dossiers)}
); }