|
@@ -200,7 +200,7 @@ export default function Register() {
|
|
|
size="lg"
|
|
size="lg"
|
|
|
variant="default"
|
|
variant="default"
|
|
|
onClick={form.handleSubmit(handleRegister) as any}
|
|
onClick={form.handleSubmit(handleRegister) as any}
|
|
|
- disabled={isLoading}
|
|
|
|
|
|
|
+ disabled={!form.formState.isValid || isLoading}
|
|
|
>
|
|
>
|
|
|
{isLoading ? (
|
|
{isLoading ? (
|
|
|
<View className="flex items-center justify-center">
|
|
<View className="flex items-center justify-center">
|