Fix error thrown when clicking the "Generate with AI" button icon
Open
task
- Dominant language
- JavaScript
- Stars
- 400
- Forks
- 89
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 146
Description
### Description
Clicking the icon on the "Generate with AI" button throws an error (also captured in Sentry). Investigate the root cause, fix the error, and ensure the icon click behaves consistently with the rest of the button (either triggering the same action or being non-interactive).
Reference: see the attached screenshots and corresponding Sentry issue.
### Epic/Story
_No response_
### Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
Contributor guide
Assessment
This issue has not been assessed yet.