Files
mantisbase-admin/app/not-found.tsx
2025-12-13 03:00:03 +03:00

12 lines
465 B
TypeScript

// Custom 404 page for static export
// This handles routes that weren't pre-generated (like dynamic entity routes)
// It renders the main MainPage component which handles routing client-side
import MainPage from "@/components/main-page"
export default function NotFound() {
// Render the main page - client-side router will handle the actual routing
// This allows dynamic routes like /entities/test to work even if not pre-generated
return <MainPage />
}