(data: z.infer<typeof formSchema>)
| 90 | }); |
| 91 | |
| 92 | const onSubmit = (data: z.infer<typeof formSchema>) => { |
| 93 | execute({ |
| 94 | name: data.name, |
| 95 | status: data.status || null, |
| 96 | bio: data.bio || null, |
| 97 | work: data.work || null, |
| 98 | website: data.website || null, |
| 99 | social_x_link: data.social_x_link || null, |
| 100 | is_public: data.is_public ?? true, |
| 101 | slug: data.slug, |
| 102 | }); |
| 103 | }; |
| 104 | |
| 105 | return ( |
| 106 | <Form {...form}> |
nothing calls this directly
no outgoing calls
no test coverage detected