diff --git a/.env b/.env index ec8b053..75d31ae 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -VITE_API_BASE_URL=http://localhost:3000/api/v1 -# VITE_API_BASE_URL=https://backendqaasure.tech4bizsolutions.com/api/v1 +# VITE_API_BASE_URL=http://localhost:3000/api/v1 +VITE_API_BASE_URL=https://backendqaasure.tech4bizsolutions.com/api/v1 diff --git a/src/components/shared/MultiselectPaginatedSelect.tsx b/src/components/shared/MultiselectPaginatedSelect.tsx index 00184e0..a0b77d4 100644 --- a/src/components/shared/MultiselectPaginatedSelect.tsx +++ b/src/components/shared/MultiselectPaginatedSelect.tsx @@ -195,15 +195,6 @@ export const MultiselectPaginatedSelect = ({ onValueChange(value.filter((v) => v !== optionValue)); }; - const getDisplayText = (): string => { - if (value.length === 0) return placeholder; - if (value.length === 1) { - const option = options.find((opt) => opt.value === value[0]); - return option ? option.label : `${value.length} selected`; - } - return `${value.length} selected`; - }; - return (