@secondstaxorg/sscomp 1.8.87 → 1.8.89

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.js CHANGED
@@ -25799,7 +25799,7 @@ const Selector = (props) => {
25799
25799
  React$1.useEffect(()=>{
25800
25800
  if (value){
25801
25801
  if (Array.isArray(value)){
25802
- if (!(value )[0].label || !(value )[0].value) return
25802
+ if (value.length > 0 && (!(value )[0].label || !(value )[0].value)) return
25803
25803
  setSelectedOptions(value);
25804
25804
  }else {
25805
25805
  let inArray = false;