From d353167f9ccfc2e40d6eeb057087cafd86c0fd52 Mon Sep 17 00:00:00 2001 From: Ivy Gesare <83957195+Gesare5@users.noreply.github.com> Date: Mon, 29 Jul 2024 10:06:39 +0300 Subject: [PATCH] [MM-59343] Migrate tooltips of "components/select_team/components/select_team_item.tsx" to WithTooltip (#27584) --- .../select_team_item.test.tsx.snap | 174 +----------------- .../components/select_team_item.tsx | 19 +- 2 files changed, 9 insertions(+), 184 deletions(-) diff --git a/webapp/channels/src/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap b/webapp/channels/src/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap index fae7b8a418..33375116af 100644 --- a/webapp/channels/src/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap +++ b/webapp/channels/src/components/select_team/components/__snapshots__/select_team_item.test.tsx.snap @@ -112,181 +112,15 @@ exports[`components/select_team/components/SelectTeamItem should match snapshot,
- , - "_firstWorkInProgressHook": null, - "_forcedUpdate": false, - "_idCounter": 0, - "_instance": [Circular], - "_isReRender": false, - "_newState": null, - "_numberOfReRenders": 0, - "_renderPhaseUpdates": null, - "_rendered":
- - description - - } - placement="top" - rootClose={true} - trigger={ - Array [ - "hover", - "focus", - ] - } - > - - - - - team_display_name - - - -
, - "_rendering": false, - "_updater": [Circular], - "_workInProgressHook": null, - }, - }, - } - } - defaultOverlayShown={false} - delayShow={1000} - overlay={ - - description - - } + -
+ { return null; } - const descriptionTooltip = ( - - {team.description} - - ); - return ( - - + ); };