itizawa 6 лет назад
Родитель
Сommit
18234a57ca
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/client/js/components/LoginForm.jsx

+ 1 - 1
src/client/js/components/LoginForm.jsx

@@ -19,7 +19,7 @@ class LoginForm extends React.Component {
     this.renderRegisterForm = this.renderRegisterForm.bind(this);
     this.renderRegisterForm = this.renderRegisterForm.bind(this);
 
 
     const { hash } = window.location;
     const { hash } = window.location;
-    if (hash === '#register' || props.isRegistering) {
+    if (hash === '#register') {
       this.state.isRegistering = true;
       this.state.isRegistering = true;
     }
     }
   }
   }