From 86258e2129f0406269e943ce8b05a0f2b5cc2549 Mon Sep 17 00:00:00 2001 From: Anthony Schneider Date: Wed, 6 Apr 2022 00:37:10 -0500 Subject: learned react-router + made bad login page --- src/App.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/App.js') diff --git a/src/App.js b/src/App.js index 5d4eadb..b489c63 100644 --- a/src/App.js +++ b/src/App.js @@ -155,6 +155,7 @@ class Sidebar extends React.Component { logOut() { // location.replace("index.html"); + window.location.replace("/"); console.log("log out"); } -- cgit v1.2.3-70-g09d2