add Rainfalls Index page

This commit is contained in:
Romulus21
2023-09-14 23:20:29 +02:00
parent 42f03707d9
commit 4a733929ed
11 changed files with 177 additions and 26 deletions

View File

@@ -11,6 +11,7 @@ const Profile = lazy(() => import('./Auth/Profile'))
const Register = lazy(() => import('./Auth/Register'))
const Reset = lazy(() => import('./Auth/Reset'))
const Rainfall = lazy(() => import('./Rainfall'))
const RainfallIndex = lazy(() => import('./Rainfall/RainfallIndex'))
const Router = () => {
@@ -30,6 +31,7 @@ const Router = () => {
<Route path="/changer-le-mot-de-passe/:token" element={<Reset />} />
<Route path="/meteo" element={<Meteo />} />
<Route path="/pluviometrie" element={<Rainfall />} />
<Route path="/pluviometrie/mesures" element={<RainfallIndex />} />
</Routes>
</Suspense>
</BrowserRouter>