Skip to content

Commit

Permalink
fix: Dont allow the Sanction Modal to overshadow the DonateWrongNetwo…
Browse files Browse the repository at this point in the history
…rk Modal
  • Loading branch information
Hrithik Sampson authored and Hrithik Sampson committed Aug 20, 2024
1 parent 5af5f63 commit 9ce95b9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/views/donate/OnTime/OneTimeDonationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,13 @@ const CryptoDonation: FC<{

return (
<MainContainer>
{isSanctioned && (
<SanctionModal
closeModal={() => {
setIsSanctioned(false);
}}
/>
)}
{showQFModal && (
<QFModal
donateWithoutMatching={donateWithoutMatching}
Expand All @@ -357,13 +364,6 @@ const CryptoDonation: FC<{
)}
/>
)}
{isSanctioned && (
<SanctionModal
closeModal={() => {
setIsSanctioned(false);
}}
/>
)}
{showInsufficientModal && (
<InsufficientFundModal
setShowModal={setShowInsufficientModal}
Expand Down

0 comments on commit 9ce95b9

Please sign in to comment.