Sticky headers fix, added Heliports

This commit is contained in:
PxlLoewe
2025-07-13 00:30:46 -07:00
parent 0730737bbe
commit 768c84f171
27 changed files with 432 additions and 22 deletions

View File

@@ -0,0 +1,13 @@
import { prisma } from "@repo/db";
import { HeliportForm } from "../_components/Form";
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
const heliport = await prisma.heliport.findUnique({
where: {
id: parseInt(id),
},
});
if (!heliport) return <div>Heliport not found</div>;
return <HeliportForm heliport={heliport} />;
}