Skip to content

Commit 21daca2

Browse files
Update src/field-set/actions.ts
Co-authored-by: codacy-production[bot] <61871480+codacy-production[bot]@users.noreply.github.com>
1 parent 4943c25 commit 21daca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/field-set/actions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const transact = async (
8989
const { payorInfo, customerInfo, shippingDetails } = newProps;
9090
newProps.payorInfo = payorInfo || customerInfo || shippingDetails || {};
9191
// Adding line for backwards compatability. Default to what was passed into the transact function, then the one passed into create, then the default
92-
newProps.feeMode = !!newProps.feeMode
92+
newProps.feeMode = newProps.feeMode
9393
? newProps.feeMode
9494
: transactingElement.feeMode
9595
? transactingElement.feeMode

0 commit comments

Comments
 (0)