Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c6e0662

Browse files
committed
Fix remaining tooltip
1 parent fbee2ad commit c6e0662

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/views/spaces/threads-activity-centre/ThreadsActivityCentreButton.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ export const ThreadsActivityCentreButton = forwardRef<HTMLDivElement, ThreadsAct
4848
{ displayLabel, notificationLevel, disableTooltip = false, ...props },
4949
ref,
5050
): React.JSX.Element {
51-
const openTooltip = displayLabel || disableTooltip ? false : undefined;
51+
// Disable tooltip when the label is displayed
52+
const openTooltip = displayLabel ? false : undefined;
5253

5354
return (
5455
<Tooltip label={_t("common|threads")} side="right" open={openTooltip}>

0 commit comments

Comments
 (0)