giveth-dapps-v2 icon indicating copy to clipboard operation
giveth-dapps-v2 copied to clipboard

Feat/issue 4449

Open HrithikSampson opened this issue 6 months ago • 2 comments

#4449

Summary of changes

  1. I have reused the sanctionsModal in the OneTimeDonation Page since endowment projects have only one time Donation option.
  2. Since I thought that it is not allowing the user to donate to the project on signin, I have removed the OFAC Sanction Modal appearing on clicking the donate button.

Summary by CodeRabbit

  • New Features

    • Introduced wallet sanctioning checks for donations, enhancing compliance with organizational policies.
    • Added a modal to inform users if their wallet is sanctioned, improving user experience during the donation process.
  • Refactor

    • Simplified the donation validation process by removing unnecessary checks, leading to clearer code and more efficient operations.

HrithikSampson avatar Aug 20 '24 11:08 HrithikSampson