From 6ac8f771f8139e56c8170ba2da7c03985f3473a9 Mon Sep 17 00:00:00 2001 From: Lea Date: Thu, 10 Aug 2023 14:44:50 +0200 Subject: [PATCH] feat: add pizza --- app/panel/reports/page.tsx | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/app/panel/reports/page.tsx b/app/panel/reports/page.tsx index 6901f3f..4c03ee8 100644 --- a/app/panel/reports/page.tsx +++ b/app/panel/reports/page.tsx @@ -2,6 +2,7 @@ import { ReportCard } from "@/components/cards/ReportCard"; import { CardLink } from "@/components/common/CardLink"; import { Input } from "@/components/ui/input"; import { fetchOpenReports } from "@/lib/db"; +import { PizzaIcon } from "lucide-react"; export default async function Reports() { const reports = (await fetchOpenReports()) @@ -11,11 +12,21 @@ export default async function Reports() { return (
- {reports.map((report) => ( - - - - ))} + {reports.length + ? reports.map((report) => ( + + + + )) + : (<> +

+ +

+

+ You‘ve caught up for now. +

+ ) + }
); }