FE: 22916 followup code cleanup (#23306)

This commit is contained in:
RachelElysia
2024-10-31 11:14:55 -04:00
committed by GitHub
parent d4525d8b94
commit 06c2b5cc23
4 changed files with 4 additions and 5 deletions
@@ -214,7 +214,6 @@ const ActionsDropdown = ({
...(state.isDisabled && {
color: COLORS["ui-fleet-black-50"],
fontStyle: "italic",
// pointerEvents: "none", // Prevents any mouse interaction
}),
}),
};
@@ -1,4 +1,4 @@
// All styling in customStyles part of react-select-5
// All other styling in customStyles part of react-select-5
.actions-dropdown-select__control {
&:focus-visible {
background-color: $core-fleet-blue;
@@ -1,4 +1,4 @@
import React, { Children } from "react";
import React from "react";
import classnames from "classnames";
import Spinner from "components/Spinner";
@@ -2,7 +2,7 @@ import React from "react";
import LinkCell from "components/TableContainer/DataTable/LinkCell";
import TextCell from "components/TableContainer/DataTable/TextCell";
import DropdownCell from "components/ActionsDropdown";
import ActionsDropdown from "components/ActionsDropdown";
import { ITeam } from "interfaces/team";
import { IDropdownOption } from "interfaces/dropdownOption";
import PATHS from "router/paths";
@@ -91,7 +91,7 @@ const generateTableHeaders = (
disableSortBy: true,
accessor: "actions",
Cell: (cellProps: IDropdownCellProps) => (
<DropdownCell
<ActionsDropdown
options={cellProps.cell.value}
onChange={(value: string) =>
actionSelectHandler(value, cellProps.row.original)