diff --git a/src/App.tsx b/src/App.tsx index e02e997..6bf60f8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -44,6 +44,7 @@ const AdminUsers = lazy(() => import('./pages/AdminUsers')) const AdminPayments = lazy(() => import('./pages/AdminPayments')) const AdminPromoOffers = lazy(() => import('./pages/AdminPromoOffers')) const AdminRemnawave = lazy(() => import('./pages/AdminRemnawave')) +const AdminEmailTemplates = lazy(() => import('./pages/AdminEmailTemplates')) function ProtectedRoute({ children }: { children: React.ReactNode }) { const { isAuthenticated, isLoading } = useAuthStore() @@ -332,6 +333,14 @@ function App() { } /> + + + + } + /> {/* Catch all */} } />