diff --git a/src/router.js b/src/router.js
index 79e696a..57c75dd 100644
--- a/src/router.js
+++ b/src/router.js
@@ -1,5 +1,6 @@
import React, { useEffect } from "react";
-import { BrowserRouter, Routes, Route } from "react-router-dom";
+import { BrowserRouter, Routes, Route, } from "react-router-dom";
+import { Navigate } from 'react-router-dom';
import { connect } from "react-redux";
import { publicApi } from "./redux/actions";
import Navbar from "./components/Navbar";
@@ -154,10 +155,11 @@ function Router({
/>
}
/>
-
+ /> :
}
- />
+ >
+