diff --git a/src/Components/Inputs/Select/index.jsx b/src/Components/Inputs/Select/index.jsx index 49749f2ca..189ff360c 100644 --- a/src/Components/Inputs/Select/index.jsx +++ b/src/Components/Inputs/Select/index.jsx @@ -2,7 +2,6 @@ import PropTypes from "prop-types"; import { useTheme } from "@emotion/react"; import { MenuItem, Select as MuiSelect, Stack, Typography } from "@mui/material"; import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown"; -import { renderTruncatedValue } from "../../../Utils/Input/utils"; import "./index.css"; /** @@ -50,8 +49,6 @@ const Select = ({ sx, name = "", labelControlSpacing = 2, - truncate = false, - maxTruncateLength = 15, }) => { const theme = useTheme(); @@ -65,10 +62,6 @@ const Select = ({ margin: theme.spacing(2), }; - const renderShortValue = () => { - return renderTruncatedValue(displayName, truncate, maxTruncateLength, placeholder); - }; - return ( {placeholder && ( Filter by: - +