From b06c0e8a1d65629a15f441ad07805b44c2477e4b Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Fri, 9 Apr 2021 19:19:03 +0530 Subject: [PATCH] Redirect / to /login --- src/App.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 4e41f3d..adb2fe1 100644 --- a/src/App.js +++ b/src/App.js @@ -3,7 +3,8 @@ import "./App.css"; import { BrowserRouter as Router, Switch, - Route + Route, + Redirect } from "react-router-dom"; import Home from "./pages/Home"; @@ -14,7 +15,7 @@ function App() { -
Main Page
+