async function onSubmit(payload: FormSubmitEvent<Schema>) {
try {
const { error } = await supabase.auth.signUp({
email: payload.data.email,
password: payload.data.password
})
if (error) {
toast.add({ title: 'Error', description: error.message, color: 'error' })
} else {
toast.add({ title: 'Success', description: 'Logged in successfully', color: 'success' })
}
} catch (error: any) {
toast.add({ title: 'Error', description: error.message, color: 'error' })
}
}
how i can send username to supabase sign up auth