Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove onKeyPress on AccordionTrigger (#5993)
context: https://sourcegraph.slack.com/archives/C05AGQYD528/p1729773000841009 Somehow `onKeyPress` causing an infinite loop of telemetry records. Also with the most recent changes the `context items opened` event is getting recorded even when the context menu is closed. This PR makes it so that the event is only getting recorded once. ## Test plan - Contact Piotr, even I don't know. ## Changelog <!-- OPTIONAL; info at https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c -->
- Loading branch information