Kaynağa Gözat

Update LoginForm.jsx

itizawa 6 yıl önce
ebeveyn
işleme
18234a57ca
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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);
 
     const { hash } = window.location;
-    if (hash === '#register' || props.isRegistering) {
+    if (hash === '#register') {
       this.state.isRegistering = true;
     }
   }