From efaadefa4845e0a99a155621aceaf64041f19659 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Thu, 19 Jun 2025 17:35:56 +0800 Subject: [PATCH] refactor(auth): Relocate unauthorized page --- src/app/(protected)/unauthorized/page.tsx | 28 ----------------------- 1 file changed, 28 deletions(-) delete mode 100644 src/app/(protected)/unauthorized/page.tsx diff --git a/src/app/(protected)/unauthorized/page.tsx b/src/app/(protected)/unauthorized/page.tsx deleted file mode 100644 index 52b0671..0000000 --- a/src/app/(protected)/unauthorized/page.tsx +++ /dev/null @@ -1,28 +0,0 @@ -'use client' - -import { Button } from "@/components/ui/button"; -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; -import { redirect } from "next/navigation"; - - -export default function ForbiddenPage() { - const handleGoBack = () => { - redirect("/") - }; - - return ( -
- - - 403 - - -

你无权访问该页面

- -
-
-
- ); -}