(values: z.infer<typeof formSchema>)
| 80 | useEffect(() => setValue(current ?? ''), [current]); |
| 81 | |
| 82 | const commit = async () => { |
| 83 | const next = value.trim(); |
| 84 | if (saving || !next || next === current) { |
| 85 | setValue(current ?? ''); |
| 86 | return; |
| 87 | } |
| 88 | setSaving(true); |
| 89 | try { |