diff --git a/client/src/Pages/Maintenance/create/Components/ConfigSelect/index.jsx b/client/src/Pages/Maintenance/create/Components/ConfigSelect/index.jsx deleted file mode 100644 index 8d4c0ae53..000000000 --- a/client/src/Pages/Maintenance/create/Components/ConfigSelect/index.jsx +++ /dev/null @@ -1,38 +0,0 @@ -import Select from "@/Components/v1/Inputs/Select/index.jsx"; -import PropTypes from "prop-types"; -const ConfigSelect = ({ configSelection, valueSelect, onChange, ...props }) => { - const getValueById = (config, id) => { - const item = config.find((config) => config._id === id); - return item ? (item.value ? item.value : item.name) : null; - }; - - const getIdByValue = (config, name) => { - const item = config.find((config) => { - if (config.value) { - return config.value === name; - } else { - return config.name === name; - } - }); - return item ? item._id : null; - }; - - return ( -