@ikas/storefront 0.1.17 → 0.1.19
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/build/index.es.js +5 -2
- package/build/index.js +5 -2
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -68440,8 +68440,11 @@ var FormItem = observer(function (props) {
|
|
|
68440
68440
|
});
|
|
68441
68441
|
}, [props.onChange]);
|
|
68442
68442
|
useEffect(function () {
|
|
68443
|
-
|
|
68444
|
-
|
|
68443
|
+
console.log("currentCountry:", props.currentCountryCode);
|
|
68444
|
+
if (!vm.country && props.currentCountryCode) {
|
|
68445
|
+
console.log("onchange");
|
|
68446
|
+
vm.onPhoneChange(props.currentCountryCode);
|
|
68447
|
+
}
|
|
68445
68448
|
}, [props.currentCountryCode]);
|
|
68446
68449
|
return (createElement("div", { className: vm.formItemStyle, style: props.style },
|
|
68447
68450
|
createElement("div", { className: styles.FormItemWrapper },
|
package/build/index.js
CHANGED
|
@@ -68419,8 +68419,11 @@ var FormItem = mobxReactLite.observer(function (props) {
|
|
|
68419
68419
|
});
|
|
68420
68420
|
}, [props.onChange]);
|
|
68421
68421
|
React.useEffect(function () {
|
|
68422
|
-
|
|
68423
|
-
|
|
68422
|
+
console.log("currentCountry:", props.currentCountryCode);
|
|
68423
|
+
if (!vm.country && props.currentCountryCode) {
|
|
68424
|
+
console.log("onchange");
|
|
68425
|
+
vm.onPhoneChange(props.currentCountryCode);
|
|
68426
|
+
}
|
|
68424
68427
|
}, [props.currentCountryCode]);
|
|
68425
68428
|
return (React.createElement("div", { className: vm.formItemStyle, style: props.style },
|
|
68426
68429
|
React.createElement("div", { className: styles.FormItemWrapper },
|