mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-30 22:26:38 +08:00
05606dfb56
Show /403 instead of toasting or staying on the denied screen when the API returns 403 or a non-admin opens an admin route.
8 lines
161 B
TypeScript
8 lines
161 B
TypeScript
'use client';
|
|
|
|
import { ForbiddenPage } from '@/components/layout/forbidden-page';
|
|
|
|
export default function ForbiddenRoutePage() {
|
|
return <ForbiddenPage />;
|
|
}
|