feat: add not found page (#22)

This commit is contained in:
2024-11-16 18:13:23 +03:00
parent a6ec94785a
commit 1839136c9f
6 changed files with 67 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ import React, { lazy, Suspense } from 'react';
import { Routes, Route } from 'react-router-dom';
import { PageSpinner } from './components';
import Arm from './pages/arm';
import NotFound from './pages/notFound/notFound';
const Landing = lazy(() => import('./pages/landing'));
const OrderForm = lazy(() => import('./pages/order-form'));
@@ -19,9 +20,9 @@ const Routers = () => {
<Route path='order-view' element={<OrderView />} />
</Route>
<Route path='/dry-wash/arm/*' element={<Arm />}></Route>
<Route path='*' element={<NotFound />} />
</Routes>
</Suspense>
);
};