Fix signup form blank username bug
This commit is contained in:
parent
41f66635fa
commit
44e6f17c64
|
@ -196,7 +196,7 @@ export function SignupForm(props) {
|
||||||
label='Spaceport Username'
|
label='Spaceport Username'
|
||||||
name='username'
|
name='username'
|
||||||
value={genUsername()}
|
value={genUsername()}
|
||||||
error={error.username}
|
error={error?.username?.[0] === 'This field may not be blank.' ? false : error.username}
|
||||||
readOnly
|
readOnly
|
||||||
>
|
>
|
||||||
<input style={{ border: 'none' }}></input>
|
<input style={{ border: 'none' }}></input>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user