Skip to content

Commit

Permalink
hide modal
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadPCh committed Oct 2, 2024
1 parent f6ab0a9 commit 6137ec7
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/components/views/donate/OneTime/OneTimeDonationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -375,14 +375,15 @@ const CryptoDonation: FC<{
setShowModal={setShowQFModal}
/>
)}
{shouldRenderModal(DonateModalPriorityValues.ShowNetworkModal) && (
<DonateWrongNetwork
setShowModal={setShowChangeNetworkModal}
acceptedChains={acceptedChains.filter(
chain => chain.chainType !== ChainType.STELLAR,
)}
/>
)}
{shouldRenderModal(DonateModalPriorityValues.ShowNetworkModal) &&
showChangeNetworkModal && (
<DonateWrongNetwork
setShowModal={setShowChangeNetworkModal}
acceptedChains={acceptedChains.filter(
chain => chain.chainType !== ChainType.STELLAR,
)}
/>
)}
{showInsufficientModal && (
<InsufficientFundModal
setShowModal={setShowInsufficientModal}
Expand Down

0 comments on commit 6137ec7

Please sign in to comment.