🐛 fix: Update SendCode parameters to use form.watch for email and telephone fields

This commit is contained in:
web@ppanel
2025-12-29 09:44:18 +00:00
parent 6f3c70863f
commit 51a98afcae
8 changed files with 16 additions and 9 deletions
@@ -179,7 +179,7 @@ export default function RegisterForm({
/>
<SendCode
params={{
...form.getValues(),
email: form.watch("email"),
type: 1,
}}
type="email"
@@ -98,7 +98,7 @@ export default function ResetForm({
/>
<SendCode
params={{
...form.getValues(),
email: form.watch("email"),
type: 2,
}}
type="email"