x-ui-design 0.6.80 → 0.6.81

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.esm.js CHANGED
@@ -3794,10 +3794,9 @@ const Select = ({
3794
3794
  };
3795
3795
  const selectedOption = useMemo(() => {
3796
3796
  const option = extractedOptions.find(e => e.value === selected || e.label === selected || e.children === selected) || selected;
3797
- console.info(option);
3798
3797
  return /*#__PURE__*/React.createElement("div", {
3799
3798
  dangerouslySetInnerHTML: {
3800
- __html: option?.children || option?.label || option?.value || null
3799
+ __html: typeof option === 'string' ? option : option?.children || option?.label || option?.value || null
3801
3800
  }
3802
3801
  });
3803
3802
  }, [extractedOptions, selected]) || selected || null;