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

Commit

Permalink
Fix remaining tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Feb 28, 2024
1 parent fbee2ad commit c6e0662
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ export const ThreadsActivityCentreButton = forwardRef<HTMLDivElement, ThreadsAct
{ displayLabel, notificationLevel, disableTooltip = false, ...props },
ref,
): React.JSX.Element {
const openTooltip = displayLabel || disableTooltip ? false : undefined;
// Disable tooltip when the label is displayed
const openTooltip = displayLabel ? false : undefined;

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

0 comments on commit c6e0662

Please sign in to comment.