@@ -25,6 +25,7 @@ import GlobalStateSearch from "@/components/GlobalStateSearch";
2525import LanguageToggle from "@/components/LanguageToggle" ;
2626import Leaderboard from "@/components/leaderboard" ;
2727import NetworkStatus from "@/components/NetworkStatus" ;
28+ import { ProofHistoryTable } from "@/components/ProofViewer" ;
2829import PRFeed from "@/components/PRFeed" ;
2930import PushNotificationToggle from "@/components/PushNotificationToggle" ;
3031import SecurityScannerResults from "@/components/security" ;
@@ -35,6 +36,7 @@ import TaskCard from "@/components/TaskCard";
3536import ThemeToggle from "@/components/ThemeToggle" ;
3637import TransactionFeed from "@/components/TransactionFeed" ;
3738import DashboardGrid from "@/components/dashboard/DashboardGrid" ;
39+ import { AccessControl } from "@/components/Guard" ;
3840import SessionTimer from "@/components/timer" ;
3941import { useRole } from "@/context/RoleContext" ;
4042import { useWallet } from "@/context/WalletContext" ;
@@ -470,11 +472,7 @@ export default function Home(): ReactElement {
470472
471473 < ErrorBoundary >
472474 < div className = "bg-white dark:bg-slate-900/50 border border-slate-200 dark:border-slate-800 rounded-2xl p-6 shadow-lg" >
473- import { ProofHistoryTable } from '@/components/ProofViewer';
474-
475- // Inside the JSX where AuditSessionTimer is rendered, add the component
476- { /* after <AuditSessionTimer /> */ }
477- < ProofHistoryTable />
475+ < ProofHistoryTable />
478476 </ div >
479477 </ ErrorBoundary >
480478
@@ -496,8 +494,8 @@ import { ProofHistoryTable } from '@/components/ProofViewer';
496494 { t ( 'admin.management' ) }
497495 </ p >
498496 </ div >
499- </ div >
500- </ div >
497+ </ ErrorBoundary >
498+ </ AccessControl >
501499 </ div >
502500 </ div >
503501
0 commit comments