Move error message closer to password field

Signed-off-by: Rafael Goncalves <rafaelgoncalves@riseup.net>
This commit is contained in:
Rafael Goncalves 2021-10-15 16:01:35 -03:00
parent 4fb0d021ae
commit 2fb802eb9e

View file

@ -175,11 +175,11 @@ export class PasswordAuthEntry extends React.Component<IAuthEntryProps, IPasswor
value={this.state.password} value={this.state.password}
onChange={this.onPasswordFieldChange} onChange={this.onPasswordFieldChange}
/> />
{ errorSection }
<div className="mx_button_row"> <div className="mx_button_row">
{ submitButtonOrSpinner } { submitButtonOrSpinner }
</div> </div>
</form> </form>
{ errorSection }
</div> </div>
); );
} }