Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
remove null fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed May 17, 2021
1 parent dd70b86 commit 42b89b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const reducer = (
case ACTION.SET_PROCESSING_RESPONSE:
newState = {
...state,
processingResponse: ( data as PaymentResultDataType ) || null,
processingResponse: data as PaymentResultDataType,
};
break;

Expand Down

0 comments on commit 42b89b4

Please sign in to comment.