Skip to content

Commit

Permalink
[trah]thisyahlen/fix: undefined category in mt5 financial jurisdictio…
Browse files Browse the repository at this point in the history
…n modal (#13047)

* fix: undefined category in mt5 financial jurisdiction modal

* chore: komen
  • Loading branch information
thisyahlen-deriv authored Jan 19, 2024
1 parent ee7b3d4 commit 23f2562
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,15 @@ const JurisdictionCard = ({ isAdded = false, isSelected = false, jurisdiction, o
<div className='flex gap-300'>
{!(marketType in verificationDocs)
? verificationDocumentsMapper.notApplicable.icon
: verificationDocs[marketType]?.map(doc => (
<JurisdictionCardVerificationTag
category={verificationDocumentsMapper[doc].category}
icon={verificationDocumentsMapper[doc].icon}
key={`verification-doc-${doc}`}
/>
))}
: verificationDocs[marketType]
?.filter(doc => doc in verificationDocumentsMapper)
.map(doc => (
<JurisdictionCardVerificationTag
category={verificationDocumentsMapper[doc].category}
icon={verificationDocumentsMapper[doc].icon}
key={`verification-doc-${doc}`}
/>
))}
</div>
);
}
Expand Down

1 comment on commit 23f2562

@vercel
Copy link

@vercel vercel bot commented on 23f2562 Jan 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-app – ./

binary.sx
deriv-app.vercel.app
deriv-app.binary.sx
deriv-app-git-master.binary.sx

Please sign in to comment.