@yeverlibs/ds 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -7017,9 +7017,7 @@ var CustomSelect = ({
7017
7017
  isClearable = true
7018
7018
  }) => {
7019
7019
  const handleChange = (option) => {
7020
- if (option) {
7021
- onSelect(option);
7022
- }
7020
+ onSelect(option);
7023
7021
  };
7024
7022
  const formatOptionLabel = (option) => /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
7025
7023
  option.icon && /* @__PURE__ */ jsx("div", { className: "relative mr-2 flex h-[24px] max-h-[24px] w-[24px] max-w-[24px] items-center justify-center rounded border border-gray-300", children: /* @__PURE__ */ jsx(Image4, { src: option.icon, alt: option.label, fill: true, className: "p-1", quality: 100 }) }),