Auto-deploy: 2026-01-13 15:02:46 | 1 arquivo(s) alterado(s)
This commit is contained in:
parent
238f12def5
commit
233b9f7924
|
|
@ -1,6 +1,6 @@
|
||||||
import { lazy, Suspense } from 'react';
|
import { lazy, Suspense } from 'react';
|
||||||
import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-dom';
|
import { BrowserRouter as Router, Routes, Route, Navigate } from 'react-router-dom';
|
||||||
import { PortalHome } from './features/portal/components/PortalHome';
|
import { PortalHome } from './features/portal/components/PortalHome.jsx';
|
||||||
import AuthProvider, { useAuthContext } from '@/components/shared/AuthProvider';
|
import AuthProvider, { useAuthContext } from '@/components/shared/AuthProvider';
|
||||||
|
|
||||||
import { Building, Zap } from 'lucide-react';
|
import { Building, Zap } from 'lucide-react';
|
||||||
|
|
@ -21,9 +21,9 @@ const PrafrotRoutes = lazy(() => import('@/features/prafrot/routes').then(m => (
|
||||||
const PrafrotLogin = lazy(() => import('@/features/prafrot/views/LoginView'));
|
const PrafrotLogin = lazy(() => import('@/features/prafrot/views/LoginView'));
|
||||||
const TableDebug = lazy(() => import('@/features/prafrot/views/TableDebug'));
|
const TableDebug = lazy(() => import('@/features/prafrot/views/TableDebug'));
|
||||||
const PlaygroundView = lazy(() => import('@/features/dev-tools/views/PlaygroundView'));
|
const PlaygroundView = lazy(() => import('@/features/dev-tools/views/PlaygroundView'));
|
||||||
const WorkspaceLayout = lazy(() => import('@/features/workspace').then(m => ({ default: m.WorkspaceLayout })));
|
const WorkspaceLayout = lazy(() => import('@/features/workspace/components/WorkspaceLayout.jsx').then(m => ({ default: m.WorkspaceLayout })));
|
||||||
const LoginView = lazy(() => import('@/features/workspace').then(m => ({ default: m.LoginView })));
|
const LoginView = lazy(() => import('@/features/workspace/views/LoginView.jsx').then(m => ({ default: m.LoginView })));
|
||||||
const WorkspaceGuard = lazy(() => import('@/features/workspace').then(m => ({ default: m.WorkspaceGuard })));
|
const WorkspaceGuard = lazy(() => import('@/features/workspace/components/WorkspaceGuard.jsx').then(m => ({ default: m.WorkspaceGuard })));
|
||||||
|
|
||||||
// Loading component
|
// Loading component
|
||||||
const PageLoader = () => (
|
const PageLoader = () => (
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue