Skip to content

Commit

Permalink
fix: flow type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mchoun committed May 6, 2024
1 parent e56a91f commit bf2a848
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/three-domain-secure/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export function getThreeDomainSecureComponent(): TDSComponent {

const hasError = isCardFieldFlow
? err
: err || result?.success === false;
: // $FlowFixMe[incompatible-use]
err || result?.success === false;

if (hasError) {
return onError(err);
Expand Down

0 comments on commit bf2a848

Please sign in to comment.