fix(donate): remove monthly plans from client

This commit is contained in:
Mrugesh Mohapatra
2020-03-20 00:33:20 +05:30
parent 170e3dbf4f
commit a2c7659f2d

View File

@ -4,12 +4,12 @@ require('dotenv').config({ path: path.resolve(__dirname, '../.env') });
// Configuration for client side // Configuration for client side
const durationsConfig = { const durationsConfig = {
year: 'yearly', year: 'yearly',
month: 'monthly', // month: 'monthly',
onetime: 'one-time' onetime: 'one-time'
}; };
const amountsConfig = { const amountsConfig = {
year: [100000, 25000, 6000], year: [100000, 25000, 6000],
month: [5000, 3500, 500], // month: [5000, 3500, 500],
onetime: [100000, 25000, 3500] onetime: [100000, 25000, 3500]
}; };
const defaultAmount = { const defaultAmount = {
@ -18,8 +18,8 @@ const defaultAmount = {
onetime: 25000 onetime: 25000
}; };
const defaultStateConfig = { const defaultStateConfig = {
donationAmount: defaultAmount['month'], donationAmount: defaultAmount['year'],
donationDuration: 'month' donationDuration: 'year'
}; };
const modalDefaultStateConfig = { const modalDefaultStateConfig = {
donationAmount: 6000, donationAmount: 6000,