types: Abstract inline interfaces to @plunk/types

This commit is contained in:
Dries Augustyns
2026-01-01 10:52:43 +01:00
parent 38da58e5e9
commit 85c992a9f9
95 changed files with 1370 additions and 1350 deletions
+1 -4
View File
@@ -4,10 +4,7 @@ import {notFound} from 'next/navigation';
export const revalidate = false;
export async function GET(
_req: Request,
props: {params: Promise<{slug?: string[]}>},
) {
export async function GET(_req: Request, props: {params: Promise<{slug?: string[]}>}) {
const params = await props.params;
const page = source.getPage(params.slug);
if (!page) notFound();