diff --git a/webapp/channels/src/components/shared_channel_indicator.tsx b/webapp/channels/src/components/shared_channel_indicator.tsx index b241265cdc..d93c8301e7 100644 --- a/webapp/channels/src/components/shared_channel_indicator.tsx +++ b/webapp/channels/src/components/shared_channel_indicator.tsx @@ -6,8 +6,7 @@ import {FormattedMessage} from 'react-intl'; import type {ChannelType} from '@mattermost/types/channels'; -import OverlayTrigger from 'components/overlay_trigger'; -import Tooltip from 'components/tooltip'; +import WithTooltip from 'components/with_tooltip'; import {Constants} from 'utils/constants'; @@ -29,23 +28,21 @@ const SharedChannelIndicator: React.FC = (props: Props): JSX.Element => { return sharedIcon; } - const sharedTooltip = ( - - - + const sharedTooltipText = ( + ); return ( - {sharedIcon} - + ); };