x-ui-design 0.6.81 → 0.6.82

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,11 +3794,7 @@ 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
- return /*#__PURE__*/React.createElement("div", {
3798
- dangerouslySetInnerHTML: {
3799
- __html: typeof option === 'string' ? option : option?.children || option?.label || option?.value || null
3800
- }
3801
- });
3797
+ return /*#__PURE__*/React.createElement("div", null, typeof option === 'string' ? option : option?.children || option?.label || option?.value || null);
3802
3798
  }, [extractedOptions, selected]) || selected || null;
3803
3799
  const hasMaxTagCount = hasMode && (typeof maxTagCount === 'number' || maxTagCount === 'responsive');
3804
3800
  const container = tagContainerRef.current;