Skip to content

Commit c678223

Browse files
committed
fix: change import to type import
1 parent 40846c6 commit c678223

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

site/src/pages/UsersPage/UsersTable/UserGroupsCell.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,8 @@ export function UserGroupsCell({ userGroups }: GroupsCellProps) {
8484
open={anchorEl !== null}
8585
onClose={closePopover}
8686
anchorOrigin={{ vertical: "bottom", horizontal: "left" }}
87-
// These are necessary to ensure that the popover doesn't exhibit
88-
// weird, janky behavior when scrolling
8987
disablePortal
9088
disableScrollLock
91-
// Makes sure that the table cell and the popover don't fight each
92-
// other over deciding whether the popover should be open or closed
9389
css={{ pointerEvents: "none" }}
9490
>
9591
<OverflowY maxHeight={400} sx={{ maxWidth: "320px" }}>

site/src/pages/UsersPage/UsersTable/UsersTableBody.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import GitHub from "@mui/icons-material/GitHub";
2323
import PasswordOutlined from "@mui/icons-material/PasswordOutlined";
2424
import ShieldOutlined from "@mui/icons-material/ShieldOutlined";
2525
import { UserRoleCell } from "./UserRoleCell";
26-
import { GroupsByUserId } from "api/queries/groups";
26+
import { type GroupsByUserId } from "api/queries/groups";
2727
import { UserGroupsCell } from "./UserGroupsCell";
2828

2929
dayjs.extend(relativeTime);

0 commit comments

Comments
 (0)