Skip to content

Commit a869695

Browse files
committed
refactor: rename Tooltip to MUITooltip
1 parent b371230 commit a869695

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

site/src/pages/OrganizationSettingsPage/UserTable/UserRoleCell.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* users like that, though, know that it will be painful
1515
*/
1616
import { type Interpolation, type Theme, useTheme } from "@emotion/react";
17-
import Tooltip from "@mui/material/Tooltip";
17+
import MUITooltip from "@mui/material/Tooltip";
1818
import type { LoginType, SlimRole } from "api/typesGenerated";
1919
import {
2020
Popover,
@@ -87,9 +87,9 @@ export const UserRoleCell: FC<UserRoleCellProps> = ({
8787
}
8888
>
8989
{mainDisplayRole.global ? (
90-
<Tooltip title="This user has this role for all organizations.">
90+
<MUITooltip title="This user has this role for all organizations.">
9191
<span>{displayName}*</span>
92-
</Tooltip>
92+
</MUITooltip>
9393
) : (
9494
displayName
9595
)}
@@ -144,9 +144,9 @@ const OverflowRolePill: FC<OverflowRolePillProps> = ({ roles }) => {
144144
css={role.global ? styles.globalRoleBadge : styles.roleBadge}
145145
>
146146
{role.global ? (
147-
<Tooltip title="This user has this role for all organizations.">
147+
<MUITooltip title="This user has this role for all organizations.">
148148
<span>{role.display_name || role.name}*</span>
149-
</Tooltip>
149+
</MUITooltip>
150150
) : (
151151
role.display_name || role.name
152152
)}

0 commit comments

Comments
 (0)