mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-27 03:26:58 -05:00
Implement dynamic page titles
This commit is contained in:
@@ -6,6 +6,7 @@ import { Skeleton } from '@/components/ui/skeleton';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { Alert, AlertDescription, AlertTitle } from '@/components/ui/alert';
|
||||
import { AlertCircle } from 'lucide-react';
|
||||
import { useDocumentTitle } from '@/hooks/useDocumentTitle';
|
||||
|
||||
interface ErrorBoundaryProps {
|
||||
children: ReactNode;
|
||||
@@ -48,6 +49,7 @@ class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
||||
}
|
||||
|
||||
export default function AdminSystemLog() {
|
||||
useDocumentTitle('System Activity Log - Admin');
|
||||
const { isLoading, isAuthorized } = useAdminGuard(false); // No MFA required for viewing logs
|
||||
|
||||
if (isLoading) {
|
||||
|
||||
Reference in New Issue
Block a user