Skip to content

Commit

Permalink
feat(dossier): remove async call to avoid conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-sanna-eki committed Dec 9, 2023
1 parent 6d06946 commit 50d6dc7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/dossiers/page.tsx
Original file line number Diff line number Diff line change
@@ -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 (
<div>
<Link href="dossiers/dossier">Lien vers un dossier</Link>
<h3>Rows from the Dossier Table: </h3>
<div>{JSON.stringify(dossiers)}</div>
</div>
);
}

0 comments on commit 50d6dc7

Please sign in to comment.