feat: remove all donation options on /donate but $5 (#40309)

This commit is contained in:
Ahmad Abdolsaheb
2020-11-25 06:00:12 +03:00
committed by GitHub
parent 79e3cb51e5
commit 00849387c0
4 changed files with 27 additions and 14 deletions

View File

@ -8,8 +8,7 @@ const amountsConfig = {
onetime: [2500, 5000, 7500, 10000, 15000]
};
const defaultAmount = {
month: 1000,
onetime: 2500
month: 500
};
const defaultDonation = {
donationAmount: defaultAmount['month'],