No description
AlertDialogAction closes the dialog synchronously on click before any awaited handler logic runs, so the disabled/'Generating...' state on the Confirm button was unreachable. Call event.preventDefault() in handleConfirmGenerate to suppress Radix's auto-close; the dialog now closes explicitly via setPreview(null) only on success, and stays open (with the toast) on error so the user can retry or cancel. |
||
|---|---|---|
| .claude | ||
| dev | ||
| ondeck | ||
| tasks | ||
| .gitignore | ||