diff --git a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx index 713b3ac6fa..02e9989aed 100644 --- a/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx +++ b/libs/remix-ui/workspace/src/lib/components/workspace-hamburger.tsx @@ -227,8 +227,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { >
{ - e.stopPropagation() + onClick={() => { props.addGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting']) props.hideIconsMenu(!showIconsMenu) @@ -238,8 +237,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { hidden={ hideWorkspaceOptions } id='soliditygithubaction' data-id='soliditygithubaction' - onClick={(e) => { - e.stopPropagation() + onClick={() => { props.addGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSolidityTesting']) props.hideIconsMenu(!showIconsMenu) @@ -260,8 +258,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { >
{ - e.stopPropagation() + onClick={() => { props.addTsSolTestGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction']) props.hideIconsMenu(!showIconsMenu) @@ -271,8 +268,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { hidden={ hideWorkspaceOptions } id='tssoliditygithubaction' data-id='tssoliditygithubaction' - onClick={(e) => { - e.stopPropagation() + onClick={() => { props.addTsSolTestGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addTsSolTestingAction']) props.hideIconsMenu(!showIconsMenu) @@ -293,8 +289,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { >
{ - e.stopPropagation() + onClick={() => { props.addSlitherGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction']) props.hideIconsMenu(!showIconsMenu) @@ -304,8 +299,7 @@ export function HamburgerMenu (props: HamburgerMenuProps) { hidden={ hideWorkspaceOptions } id='slithergithubaction' data-id='slithergithubaction' - onClick={(e) => { - e.stopPropagation() + onClick={() => { props.addSlitherGithubAction() _paq.push(['trackEvent', 'fileExplorer', 'workspaceMenu', 'addSlitherAction']) props.hideIconsMenu(!showIconsMenu)