fix(donate): remove monthly plans from client
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user