From 946a98d8d5cc003705cc55798db8962ed176e90c Mon Sep 17 00:00:00 2001 From: vsumit89 Date: Mon, 5 Sep 2022 15:23:56 +0530 Subject: [PATCH] added some console logs for debugging --- web/src/App.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/App.js b/web/src/App.js index e04a29dc..d14d3041 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -32,6 +32,11 @@ function App() { }); } }, []); + + console.log("window bool", window.location.pathname === '/') + console.log("window.REACT_APP_REDIRECT_SINGLE_APPLICATION_USERS", window.location.pathname === '/') + console.log("application length bool", applications?.length === 1) + console.log("loading app", loadingApp) useEffect(() => { if (process.env.NODE_ENV !== 'development') {