fix: link type error (#653)

* fix: signin button error in signup page

* fix: type error
This commit is contained in:
Nekotoxin 2022-04-08 20:01:30 +08:00 committed by GitHub
parent 801302c6e7
commit 938cdbccf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -558,7 +558,7 @@ class SignupPage extends React.Component {
  {i18next.t("signup:Have account?")} 
<a onClick={() => {
let linkInStorage = sessionStorage.getItem("loginURL")
if(linkInStorage != ""){
if(linkInStorage != null){
Setting.goToLink(linkInStorage)
}else{
Setting.goToLogin(this, application)