"use client"; import Link from "next/link"; import { useSearchParams } from "next/navigation"; import { Suspense } from "react"; function UnauthorizedContent() { const searchParams = useSearchParams(); const attemptedUrl = searchParams.get('from'); return (

Access Denied

You don't have permission to access this area. Admin privileges are required.

{attemptedUrl && (

Attempted to access: {attemptedUrl}

)}
Go to Homepage Login with Different Account
); } export default function UnauthorizedPage() { return (

Loading...

}>
); }