mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
Fixes the bug in sign up flow (#2934)
This commit is contained in:
parent
0481162af3
commit
f3844ae8e6
1 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ class ConfirmationPage extends React.Component {
|
|||
|
||||
this.state = {
|
||||
isLoading: false,
|
||||
newSignup: queryString.parse(props.location.state.search).signup,
|
||||
newSignup: !!queryString.parse(props.location.state.search).signup,
|
||||
};
|
||||
this.formRef = React.createRef(null);
|
||||
}
|
||||
|
|
@ -102,7 +102,7 @@ class ConfirmationPage extends React.Component {
|
|||
<form className="card card-md" action="." method="get" autoComplete="off">
|
||||
<div className="card-body">
|
||||
<h2 className="card-title text-center mb-4">Set up your account</h2>
|
||||
{newSignup === 'true' && (
|
||||
{newSignup && (
|
||||
<>
|
||||
<div className="mb-3">
|
||||
<label className="form-label">First name</label>
|
||||
|
|
|
|||
Loading…
Reference in a new issue