feat(auth): Add type parameter to SendCode and update related API typings

This commit is contained in:
web@ppanel
2025-02-10 14:39:31 +07:00
parent e5455aa1dc
commit 4198871eef
14 changed files with 135 additions and 9 deletions
+8 -1
View File
@@ -153,7 +153,14 @@ export default function RegisterForm({
{...field}
value={field.value as string}
/>
<SendCode type='phone' params={form.getValues()} />
<SendCode
type='phone'
params={{
...form.getValues(),
type: 1,
}}
/>
</div>
</FormControl>
<FormMessage />