@riosst100/pwa-marketplace 2.8.8 → 2.9.0
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/i18n/en_US.json +1 -1
- package/i18n/id_ID.json +1 -1
- package/package.json +1 -1
- package/src/components/FilterTop/FilterBlockList/filterBlockList.js +2 -0
- package/src/components/FilterTop/FilterBlockList/filterTopItemGroup.js +20 -2
- package/src/components/FilterTop/filterTop.js +4 -1
- package/src/components/FilterTop/filterTopBlock.js +2 -0
- package/src/components/PaymentMethod/PaypalExpress/paypalExpress.js +3 -2
- package/src/components/PaymentMethod/Xendit/xendit.js +53 -0
- package/src/components/ProductReviewItem/index.js +1 -0
- package/src/components/ProductReviewItem/productReviewItem.js +67 -0
- package/src/components/SellerReview/sellerReview.js +21 -25
- package/src/components/VerifyEmailPage/index.js +1 -0
- package/src/components/VerifyEmailPage/verifyEmail.js +79 -0
- package/src/components/VerifyEmailPage/verifyEmail.module.css +71 -0
- package/src/intercept.js +8 -0
- package/src/overwrites/peregrine/lib/talons/CheckoutPage/checkoutPage.extended.gql.js +88 -0
- package/src/overwrites/peregrine/lib/talons/CheckoutPage/useCheckoutPage.js +124 -13
- package/src/overwrites/peregrine/lib/talons/CheckoutPage/xendit.gql.js +15 -0
- package/src/overwrites/peregrine/lib/talons/FilterSidebar/useFilterSidebar.js +12 -10
- package/src/overwrites/venia-ui/lib/components/Checkbox/checkbox.module.css +2 -0
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/BillingAddress/billingAddress.module.css +9 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.js +1 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/item.module.css +7 -2
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/itemsReview.module.css +3 -2
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.js +1 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ItemsReview/showAllButton.module.css +4 -3
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.js +68 -44
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/OrderConfirmationPage/orderConfirmationPage.module.css +102 -5
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.js +4 -8
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentInformation.module.css +6 -0
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethodCollection.js +6 -20
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.js +92 -4
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/paymentMethods.module.css +13 -3
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/PaymentInformation/summary.module.css +3 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.js +3 -1
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/ShippingMethod/shippingRadios.module.css +51 -2
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.js +11 -28
- package/src/overwrites/venia-ui/lib/components/CheckoutPage/checkoutPage.module.css +16 -4
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/modalFormReview.js +2 -2
- package/src/overwrites/venia-ui/lib/components/ProductFullDetail/components/productReview.js +156 -38
- package/src/talons/FilterTop/filterTop.gql.js +1 -0
- package/src/talons/FilterTop/useFilterTop.js +2 -1
- package/src/talons/PaymentMethod/PaypalExpress/usePaypalExpress.js +5 -1
|
@@ -37,8 +37,12 @@ export const usePaypalExpress = props => {
|
|
|
37
37
|
* This function will be called if address was successfully set.
|
|
38
38
|
*/
|
|
39
39
|
const onBillingAddressChangedSuccess = useCallback(() => {
|
|
40
|
+
// Guard: avoid sending an invalid mutation if selectedMethod is missing.
|
|
41
|
+
if (!selectedMethod) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
40
44
|
updatePaymentMethod({
|
|
41
|
-
variables: {cartId, selectedMethod}
|
|
45
|
+
variables: { cartId, selectedMethod }
|
|
42
46
|
});
|
|
43
47
|
}, [updatePaymentMethod, cartId, selectedMethod]);
|
|
44
48
|
|