Ver Fonte

Merge pull request #78 from porter-dev/staging

Staging
abelanger5 há 5 anos atrás
pai
commit
1c48f088c0
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      dashboard/src/main/Login.tsx

+ 1 - 1
dashboard/src/main/Login.tsx

@@ -32,7 +32,7 @@ export default class Login extends Component<PropsType, StateType> {
   componentDidMount() {
   componentDidMount() {
     let urlParams = new URLSearchParams(window.location.search);
     let urlParams = new URLSearchParams(window.location.search);
     let emailFromCLI = urlParams.get('email');
     let emailFromCLI = urlParams.get('email');
-    // emailFromCLI ? this.setState({email: emailFromCLI}) :
+    emailFromCLI ? this.setState({email: emailFromCLI}) :
     document.addEventListener("keydown", this.handleKeyDown);
     document.addEventListener("keydown", this.handleKeyDown);
   }
   }