Fixed type errors in nextJS apps, added Docker files

Co-authored-by: Nicolas <nocnico@users.noreply.github.com>
This commit is contained in:
PxlLoewe
2025-05-24 14:12:58 -07:00
parent 5187ed194c
commit 00e432814a
24 changed files with 334 additions and 258 deletions

View File

@@ -18,7 +18,7 @@ Aktive Events / Mandatory Events
export default async function Home({
searchParams,
}: {
searchParams: { stats?: "pilot" | "dispo" };
searchParams: Promise<{ stats?: "pilot" | "dispo" }>;
}) {
const { stats } = await searchParams;
const view = stats || "pilot";
@@ -33,10 +33,7 @@ export default async function Home({
<span className="card-title">
<NotebookText className="w-4 h-4" /> Logbook
</span>
<Link
className="badge badge-sm badge-info badge-outline"
href="/logbook"
>
<Link className="badge badge-sm badge-info badge-outline" href="/logbook">
Zum vollständigen Logbook <ArrowRight className="w-4 h-4" />
</Link>
</h2>