🐛 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
@@ -182,7 +182,10 @@ export default function RegisterForm({
<SendCode
params={{
...form.getValues(),
telephone: form.watch("telephone"),
telephone_area_code: form.watch(
"telephone_area_code"
),
type: 1,
}}
type="phone"