@popsure/dirty-swan 0.36.0 → 0.36.1

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/cjs/index.js CHANGED
@@ -8740,7 +8740,9 @@ var CurrencyInput = function (_a) {
8740
8740
  // eslint-disable-next-line
8741
8741
  }, [value]);
8742
8742
  require$$0.useEffect(function () {
8743
- onChange === null || onChange === void 0 ? void 0 : onChange(reverseFormatInput(shadowValue));
8743
+ if (shadowValue) {
8744
+ onChange === null || onChange === void 0 ? void 0 : onChange(reverseFormatInput(shadowValue));
8745
+ }
8744
8746
  // eslint-disable-next-line
8745
8747
  }, [shadowValue]);
8746
8748
  require$$0.useEffect(function () {