ywana-core8 0.0.172 → 0.0.173

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.cjs CHANGED
@@ -952,7 +952,10 @@ var DropDown = function DropDown(props) {
952
952
  var option = options.find(function (option) {
953
953
  return option.value === value;
954
954
  });
955
- if (option) setLabel(option.label);
955
+
956
+ var _label = option ? option.label : "";
957
+
958
+ setLabel(_label);
956
959
  }
957
960
  }, [value]);
958
961