@ikas/storefront 0.1.14 → 0.1.15
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 +2 -1
- package/build/index.js +2 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -69411,7 +69411,8 @@ var CheckoutStepInfo = function (_a) {
|
|
|
69411
69411
|
var vm = _a.vm;
|
|
69412
69412
|
var t = useTranslation().t;
|
|
69413
69413
|
var onEmailChange = useCallback(function (value) {
|
|
69414
|
-
vm.checkout.customer
|
|
69414
|
+
if (vm.checkout.customer)
|
|
69415
|
+
vm.checkout.customer.email = value ? value.trim() : value;
|
|
69415
69416
|
}, [vm, vm.checkout, vm.checkout.customer]);
|
|
69416
69417
|
var customerAddressesViewModel = useMemo(function () {
|
|
69417
69418
|
return new CustomerAddressesViewModel(vm, "shipping");
|
package/build/index.js
CHANGED
|
@@ -69390,7 +69390,8 @@ var CheckoutStepInfo = function (_a) {
|
|
|
69390
69390
|
var vm = _a.vm;
|
|
69391
69391
|
var t = useTranslation().t;
|
|
69392
69392
|
var onEmailChange = React.useCallback(function (value) {
|
|
69393
|
-
vm.checkout.customer
|
|
69393
|
+
if (vm.checkout.customer)
|
|
69394
|
+
vm.checkout.customer.email = value ? value.trim() : value;
|
|
69394
69395
|
}, [vm, vm.checkout, vm.checkout.customer]);
|
|
69395
69396
|
var customerAddressesViewModel = React.useMemo(function () {
|
|
69396
69397
|
return new CustomerAddressesViewModel(vm, "shipping");
|