From 42b89b49820d1d92d98024face0d723c782f6030 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 17 May 2021 15:20:33 +0100 Subject: [PATCH] remove null fallback --- .../context/providers/cart-checkout/checkout-state/reducer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/base/context/providers/cart-checkout/checkout-state/reducer.ts b/assets/js/base/context/providers/cart-checkout/checkout-state/reducer.ts index e55f05a8fb2..a6ddbc08053 100644 --- a/assets/js/base/context/providers/cart-checkout/checkout-state/reducer.ts +++ b/assets/js/base/context/providers/cart-checkout/checkout-state/reducer.ts @@ -56,7 +56,7 @@ export const reducer = ( case ACTION.SET_PROCESSING_RESPONSE: newState = { ...state, - processingResponse: ( data as PaymentResultDataType ) || null, + processingResponse: data as PaymentResultDataType, }; break;