flowstate/app/(app)/[...slug]/page.tsx
Chneemann 730649d809
All checks were successful
Deploy Flowstate to VPS / deploy (push) Successful in 51s
feat(ui): add clean 404 not-found page with slug fallback
2026-08-24 19:15:22 +02:00

15 lines
468 B
TypeScript

/**
* @file app/(app)/[...slug]/page.tsx
* @description Catch-all route handler for undefined paths within the (app) route group, triggering a Next.js 404 page.
*/
import { notFound } from "next/navigation";
/**
* Catches any unmatched nested sub-routes inside the application layout and delegates to the Next.js notFound handler.
*
* @returns {never} Triggers a Next.js 404 Not Found response.
*/
export default function CatchAllNotFound() {
notFound();
}