diff --git a/components/x-gift-article/src/GiftArticle.jsx b/components/x-gift-article/src/GiftArticle.jsx index 3dba859bb..86142a2de 100644 --- a/components/x-gift-article/src/GiftArticle.jsx +++ b/components/x-gift-article/src/GiftArticle.jsx @@ -114,7 +114,7 @@ const withGiftFormActions = withActions( if (giftCredits > 0 || giftCredits === 0) { return updaters.setAllowance(giftCredits, monthlyAllowance, nextRenewalDate); } else { - return { invalidResponseFromApi: true } + return { invalidResponseFromApi: true }; } } } diff --git a/components/x-gift-article/src/lib/updaters.js b/components/x-gift-article/src/lib/updaters.js index c91e4365a..f50d1113b 100644 --- a/components/x-gift-article/src/lib/updaters.js +++ b/components/x-gift-article/src/lib/updaters.js @@ -47,7 +47,8 @@ export const setAllowance = (giftCredits, monthlyAllowance, nextRenewalDate) => return { giftCredits, monthlyAllowance, - nextRenewalDateText + nextRenewalDateText, + invalidResponseFromApi: false }; };