Browse Source

Fix renderSigninIfNotSignedIn()

HEAD
Yang Luo 2 years ago
parent
commit
032ee3a6b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      web/src/App.js

+ 1
- 1
web/src/App.js View File

@@ -340,7 +340,7 @@ class App extends Component {
renderSigninIfNotSignedIn(component) {
if (this.state.account === null) {
sessionStorage.setItem("from", window.location.pathname);
return <Redirect to="/signin" />;
window.location.replace(Setting.getSigninUrl());
} else if (this.state.account === undefined) {
return null;
} else {


Loading…
Cancel
Save