diff --git a/src/ui/routes/MainRoute.tsx b/src/ui/routes/MainRoute.tsx index 1d9fb69..1c9204d 100644 --- a/src/ui/routes/MainRoute.tsx +++ b/src/ui/routes/MainRoute.tsx @@ -4,6 +4,10 @@ * @author Pierre Hubert */ +import { Home, Person } from "@mui/icons-material"; +import CloseSharpIcon from "@mui/icons-material/CloseSharp"; +import GroupIcon from "@mui/icons-material/Group"; +import HistoryIcon from "@mui/icons-material/History"; import { AppBar, Divider, @@ -12,23 +16,18 @@ import { ListItem, ListItemIcon, ListItemText, - makeStyles, Paper, Toolbar, Typography, } from "@mui/material"; -import { Home, Person } from "@mui/icons-material"; -import CloseSharpIcon from "@mui/icons-material/CloseSharp"; -import GroupIcon from "@mui/icons-material/Group"; -import HistoryIcon from "@mui/icons-material/History"; import React from "react"; import { BrowserRouter as Router, Route, Routes, + useMatch, useNavigate, useParams, - useMatch, } from "react-router-dom"; import { AccountHelper, AdminAccountRole } from "../../helpers/AccountHelper"; import { AccountLogsRoute } from "./AccountLogsRoute"; @@ -121,7 +120,7 @@ export function MainRoute() { }} color="primary" > - + - - - + } /> - - - + } + /> - - - + } + /> - - - + } + /> - - - + } + /> - - - + } + /> - - - + } />