Issues git resolved
This commit is contained in:
3
App.tsx
3
App.tsx
@@ -19,6 +19,7 @@ const ContactPage = React.lazy(() => import('./src/pages/ContactPage'));
|
||||
const LocationsPage = React.lazy(() => import('./src/pages/LocationsPage'));
|
||||
const PrivacyPolicyPage = React.lazy(() => import('./src/pages/PrivacyPolicyPage'));
|
||||
const TermsOfServicePage = React.lazy(() => import('./src/pages/TermsOfServicePage'));
|
||||
const NotFoundPage = React.lazy(() => import('./src/pages/NotFoundPage'));
|
||||
|
||||
// Grain Overlay Component
|
||||
const GrainOverlay = () => (
|
||||
@@ -142,6 +143,8 @@ const AppContent: React.FC = () => {
|
||||
<Route path={from} element={<Navigate to={to} replace />} />
|
||||
</React.Fragment>
|
||||
))}
|
||||
|
||||
<Route path="*" element={<NotFoundPage />} />
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user