Spaces:
Sleeping
Sleeping
Update App.tsx
Browse files
App.tsx
CHANGED
|
@@ -7,6 +7,7 @@ import { User, UserRole } from './types';
|
|
| 7 |
import { api } from './services/api';
|
| 8 |
import { AlertTriangle, Loader2 } from 'lucide-react';
|
| 9 |
import { LiveAssistant } from './components/LiveAssistant';
|
|
|
|
| 10 |
|
| 11 |
// --- Page Loading Component ---
|
| 12 |
const PageLoading = () => (
|
|
@@ -287,7 +288,9 @@ const AppContent: React.FC = () => {
|
|
| 287 |
const App: React.FC = () => {
|
| 288 |
return (
|
| 289 |
<ErrorBoundary>
|
| 290 |
-
<
|
|
|
|
|
|
|
| 291 |
</ErrorBoundary>
|
| 292 |
);
|
| 293 |
};
|
|
|
|
| 7 |
import { api } from './services/api';
|
| 8 |
import { AlertTriangle, Loader2 } from 'lucide-react';
|
| 9 |
import { LiveAssistant } from './components/LiveAssistant';
|
| 10 |
+
import { SecurityProvider } from './contexts/SecurityContext';
|
| 11 |
|
| 12 |
// --- Page Loading Component ---
|
| 13 |
const PageLoading = () => (
|
|
|
|
| 288 |
const App: React.FC = () => {
|
| 289 |
return (
|
| 290 |
<ErrorBoundary>
|
| 291 |
+
<SecurityProvider>
|
| 292 |
+
<AppContent />
|
| 293 |
+
</SecurityProvider>
|
| 294 |
</ErrorBoundary>
|
| 295 |
);
|
| 296 |
};
|