mirror of
https://github.com/allankoechke/mantisbase-admin.git
synced 2026-12-02 17:25:43 +00:00
12 lines
465 B
TypeScript
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 />
|
|
}
|
|
|