diff --git a/webapp/channels/src/components/sidebar/mobile_sidebar_header/contents/contents.tsx b/webapp/channels/src/components/sidebar/mobile_sidebar_header/contents/contents.tsx index a4b198fb29..887a22367a 100644 --- a/webapp/channels/src/components/sidebar/mobile_sidebar_header/contents/contents.tsx +++ b/webapp/channels/src/components/sidebar/mobile_sidebar_header/contents/contents.tsx @@ -8,10 +8,9 @@ import type {UserProfile} from '@mattermost/types/users'; import CustomStatusEmoji from 'components/custom_status/custom_status_emoji'; import CustomStatusModal from 'components/custom_status/custom_status_modal'; -import OverlayTrigger from 'components/overlay_trigger'; -import Tooltip from 'components/tooltip'; +import WithTooltip from 'components/with_tooltip'; -import Constants, {ModalIdentifiers} from 'utils/constants'; +import {ModalIdentifiers} from 'utils/constants'; import type {ModalData} from 'types/actions'; @@ -68,13 +67,13 @@ export default class Contents extends React.PureComponent { if (this.props.teamDescription) { teamNameWithToolTip = ( - {this.props.teamDescription}} + title={this.props.teamDescription} > {teamNameWithToolTip} - + ); }