File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -118,16 +118,21 @@ export function getThreeDomainSecureComponent(): TDSComponent {
118
118
decorate : ( { props, value, onError } ) => {
119
119
return ( err , result ) => {
120
120
const isCardFieldFlow = props ?. userType === "UNBRANDED_GUEST" ;
121
+ // eslint-disable-next-line no-console
121
122
console . log ( "Seb userType" , { userType : props ?. userType } ) ;
123
+ // eslint-disable-next-line no-console
122
124
console . log ( "Seb cardFieldFlow" , { isCardFieldFlow } ) ;
123
125
// HostedFields ONLY rejects when the err object is not null. The below implementation ensures that CardFields follows the same pattern.
124
126
125
127
const hasError = isCardFieldFlow
126
128
? err
127
129
: // $FlowFixMe[incompatible-use]
128
130
err || result ?. success === false ;
131
+ // eslint-disable-next-line no-console
129
132
console . log ( "Seb err" , { err } ) ;
133
+ // eslint-disable-next-line no-console
130
134
console . log ( "Seb result" , { result } ) ;
135
+ // eslint-disable-next-line no-console
131
136
console . log ( "Seb hasError" , { hasError } ) ;
132
137
if ( hasError ) {
133
138
return onError ( err ) ;
You can’t perform that action at this time.
0 commit comments