File tree 2 files changed +2
-2
lines changed
components/pay-theory-hosted-field-transactional
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class PayTheoryHostedFieldTransactional extends PayTheoryHostedField {
95
95
protected _readyPort : MessagePort | undefined ;
96
96
97
97
// Used to track if the socket is connected
98
- protected _isConnected : boolean = false ;
98
+ protected _isConnected = false ;
99
99
100
100
// List of fields that are a part of this group used to transact for this transactional element
101
101
protected _fieldTypes : Array < ElementTypes > ;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export const transact = async (
89
89
const { payorInfo, customerInfo, shippingDetails } = newProps ;
90
90
newProps . payorInfo = payorInfo || customerInfo || shippingDetails || { } ;
91
91
// 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
93
93
? newProps . feeMode
94
94
: transactingElement . feeMode
95
95
? transactingElement . feeMode
You can’t perform that action at this time.
0 commit comments