Skip to content

Code Insights: Use native link for the Edit context menu item

Administrator requested to merge vk/fix-insight-edit-item-redirection into main

Created by: vovakulikov

Fixes https://github.com/sourcegraph/sourcegraph/issues/24083

We had a solution with a link onClick handler cause we couldn't use a Link component cause of this issue of `reach-ui/menu-button https://github.com/reach/reach-ui/issues/815

Since this issue has been fixed in the new version of the menu-button package this PR updates this dependency and removes custom callback with preventDefault call.

Merge request reports

Loading