Files
OpenFlare/frontend/app/forbidden.tsx
T
ryan 05606dfb56 feat(frontend): add a dedicated 403 forbidden page
Show /403 instead of toasting or staying on the denied screen when
the API returns 403 or a non-admin opens an admin route.
2026-09-02 18:39:11 +08:00

9 lines
216 B
TypeScript

'use client';
import { ForbiddenPage } from '@/components/layout/forbidden-page';
/** Next.js convention: rendered when forbidden() is called. */
export default function Forbidden() {
return <ForbiddenPage />;
}