From 98e1ec24191addd986bc3a9ab2a3bfcbd931365c Mon Sep 17 00:00:00 2001 From: frikky Date: Thu, 6 Jul 2023 18:09:13 +0200 Subject: [PATCH] Minor fix --- frontend/package.json | 2 +- frontend/src/App.jsx | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index be999153..5082a3b8 100755 --- a/frontend/package.json +++ b/frontend/package.json @@ -68,7 +68,7 @@ "react-markdown-github": "^3.3.1", "react-powerhooks": "0.0.7", "react-router": "6.2.1", - "react-router-dom": "^6.14.1", + "react-router-dom": "6.2.1", "react-scripts": "^4.0.1", "react-shepherd": "^3.3.6", "reactstrap": "^7.1.0", diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 78fc0899..1ab5b924 100755 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1,6 +1,6 @@ import React, { useState, useEffect } from "react"; -import { Route, Routes, BrowserRouter } from "react-router-dom"; +import { Link, Route, Routes, BrowserRouter, useNavigate } from "react-router-dom"; import { CookiesProvider } from "react-cookie"; import { removeCookies, useCookies } from "react-cookie"; @@ -472,17 +472,18 @@ const App = (message, props) => { /> } /> + } /> + } />