From 032ee3a6b1a23f7ae68c52aecba11a74095ef186 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Tue, 15 Aug 2023 17:35:41 +0800 Subject: [PATCH] Fix renderSigninIfNotSignedIn() --- web/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/App.js b/web/src/App.js index 8764d15..9e9c09f 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -340,7 +340,7 @@ class App extends Component { renderSigninIfNotSignedIn(component) { if (this.state.account === null) { sessionStorage.setItem("from", window.location.pathname); - return ; + window.location.replace(Setting.getSigninUrl()); } else if (this.state.account === undefined) { return null; } else {