added page not found
parent
7c2383025f
commit
9ba656f28b
|
@ -14,6 +14,7 @@ import AllUsers from "../../Pages/AllUsers";
|
|||
import { useContext } from "react";
|
||||
import GroupTasks from "../../Pages/GroupTasks/Overview";
|
||||
import GroupTasksHistory from "../../Pages/GroupTasks/History";
|
||||
import PageNotFound from "../../Pages/PageNotFound";
|
||||
|
||||
export default function AppRoutes() {
|
||||
const webSocketContext = useContext(WebSocketContext);
|
||||
|
@ -60,6 +61,8 @@ export default function AppRoutes() {
|
|||
webSocketContext.User.Permissions,
|
||||
Constants.PERMISSIONS.ADMIN_AREA.LOGS
|
||||
) && <Route path="/admin-area/logs" element={<AdminAreaLogs />} />}
|
||||
|
||||
<Route path="*" element={<PageNotFound />} />
|
||||
</Routes>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue