**i am Newbie both react and moralis **
i want to create a signup form using email pass and username i created here with just to input field but it returns this error
Unhandled Rejection (ValidationError): username can only be a string type
my code here signup jsx file
const SigUp = () => {
const [email, setEmail] = useState()
const [username, setUsername] = useState()
const [password, setPassword] = useState()
const {signup , isAuthenticated, isAuthenticating,
authError,
} = useMoralis()
if(isAuthenticated){
return(
<Title> welcome to our official page</Title>
)}
return(
<Container>
<Title>create your free account</Title>
<Box>
{authError &&(
<Para> {authError.message}</Para>
)}
<Input placeholder='email' value={email}
onChange={(e) => setEmail(e.currentTarget.value)} />
<Input type='password' laceholder='password' value={password}
onChange={(e) => setPassword(e.currentTarget.value)} />
<Button disabled = {isAuthenticating} onClick={signup}> signup</Button>
</Box>
</Container>)}
screenshot