Skip to content

Commit cd67036

Browse files
committed
fix(sidebar): addressing pr comments
1 parent b5f2fb9 commit cd67036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/sidebar-toggle-button/SidebarToggleButton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const SidebarToggleButton = ({
5959
const tooltipPositionModernized = direction === DIRECTION_LEFT ? DIRECTION_RIGHT : DIRECTION_LEFT;
6060

6161
return (
62-
<BPTooltip content={intlText} side={tooltipPositionModernized} onMouseDown={mouseDownHandler}>
62+
<BPTooltip content={intlText} side={tooltipPositionModernized}>
6363
{/* Workaround to attach BP tooltip to legacy button, remove span when buttons are migrated to BP */}
6464
<span onMouseDown={mouseDownHandler} role="presentation">
6565
<PlainButton
@@ -77,7 +77,7 @@ const SidebarToggleButton = ({
7777
);
7878
}
7979
return (
80-
<Tooltip position={tooltipPosition} text={intlText} onMouseDown={mouseDownHandler}>
80+
<Tooltip position={tooltipPosition} text={intlText}>
8181
<PlainButton
8282
aria-label={intlText}
8383
className={classes}

0 commit comments

Comments
 (0)