Fix signup form blank username bug

This commit is contained in:
Tanner Collin 2022-09-28 02:37:50 +00:00
parent 41f66635fa
commit 44e6f17c64

View File

@ -196,7 +196,7 @@ export function SignupForm(props) {
label='Spaceport Username'
name='username'
value={genUsername()}
error={error.username}
error={error?.username?.[0] === 'This field may not be blank.' ? false : error.username}
readOnly
>
<input style={{ border: 'none' }}></input>