Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
17c916b
1
Parent(s): b0867f8
fix: resolve typescript build errors in internal portal navigation
Browse files
frontend/apps/internal/src/components/ForensicsView.module.css
CHANGED
|
@@ -284,7 +284,7 @@
|
|
| 284 |
flex: 1;
|
| 285 |
display: flex;
|
| 286 |
flex-direction: column;
|
| 287 |
-
|
| 288 |
justify-content: center;
|
| 289 |
text-align: center;
|
| 290 |
gap: 16px;
|
|
|
|
| 284 |
flex: 1;
|
| 285 |
display: flex;
|
| 286 |
flex-direction: column;
|
| 287 |
+
align-items: center;
|
| 288 |
justify-content: center;
|
| 289 |
text-align: center;
|
| 290 |
gap: 16px;
|
frontend/apps/internal/src/components/ForensicsView.tsx
CHANGED
|
@@ -3,12 +3,9 @@ import { useAuth, api } from '@nexus/shared';
|
|
| 3 |
import {
|
| 4 |
ShieldCheck,
|
| 5 |
Activity,
|
| 6 |
-
User,
|
| 7 |
-
ArrowRight,
|
| 8 |
Clock,
|
| 9 |
Filter,
|
| 10 |
RefreshCcw,
|
| 11 |
-
Eye,
|
| 12 |
AlertTriangle,
|
| 13 |
Fingerprint
|
| 14 |
} from 'lucide-react';
|
|
@@ -32,7 +29,7 @@ interface AuditLog {
|
|
| 32 |
type ForensicsTab = 'ai' | 'security';
|
| 33 |
|
| 34 |
export const ForensicsView: React.FC = () => {
|
| 35 |
-
|
| 36 |
const [activeTab, setActiveTab] = useState<ForensicsTab>('security');
|
| 37 |
const [logs, setLogs] = useState<AuditLog[]>([]);
|
| 38 |
const [loading, setLoading] = useState(true);
|
|
|
|
| 3 |
import {
|
| 4 |
ShieldCheck,
|
| 5 |
Activity,
|
|
|
|
|
|
|
| 6 |
Clock,
|
| 7 |
Filter,
|
| 8 |
RefreshCcw,
|
|
|
|
| 9 |
AlertTriangle,
|
| 10 |
Fingerprint
|
| 11 |
} from 'lucide-react';
|
|
|
|
| 29 |
type ForensicsTab = 'ai' | 'security';
|
| 30 |
|
| 31 |
export const ForensicsView: React.FC = () => {
|
| 32 |
+
useAuth();
|
| 33 |
const [activeTab, setActiveTab] = useState<ForensicsTab>('security');
|
| 34 |
const [logs, setLogs] = useState<AuditLog[]>([]);
|
| 35 |
const [loading, setLoading] = useState(true);
|