This commit is contained in:
debu-2 2026-10-12 23:19:09 +05:30
parent 8726c931fa
commit 8c46d091ff
49 changed files with 1607 additions and 712 deletions

View file

@ -36,7 +36,7 @@ export function ComplianceGate() {
const { status, loading } = useCompliance()
const location = useLocation()
if (loading) return <div className="auth-loading">Checking compliance status…</div>
if (loading) return <div className="auth-loading">Checking your approvals…</div>
const unlocked = status?.console_unlocked ?? false
const allowed = COMPLIANCE_ONLY_PATHS.includes(location.pathname) || location.pathname === '/console/account'