reset prod prices

This commit is contained in:
austinkelsay 2025-05-14 17:23:24 -05:00
parent ab7b5fc273
commit 34d0165c89
No known key found for this signature in database
GPG Key ID: 5A763922E5BA08EE
3 changed files with 2 additions and 7 deletions

View File

@ -38,7 +38,7 @@ const SubscriptionPaymentButtons = ({
// Calculate the amount based on the subscription type // Calculate the amount based on the subscription type
const getAmount = () => { const getAmount = () => {
return subscriptionType === 'yearly' ? 500 : 50; return subscriptionType === 'yearly' ? 500000 : 50000;
}; };
const amount = getAmount(); const amount = getAmount();

View File

@ -117,11 +117,6 @@ const UserSubscription = () => {
} }
}; };
// Calculate the subscription amount based on type
const getAmount = () => {
return subscriptionType === 'yearly' ? 500 : 50;
};
return ( return (
<div className="py-4 px-1"> <div className="py-4 px-1">
{windowWidth < 768 && <h1 className="text-3xl font-bold mb-6">Subscription Management</h1>} {windowWidth < 768 && <h1 className="text-3xl font-bold mb-6">Subscription Management</h1>}

View File

@ -11,7 +11,7 @@ const lnAddress = process.env.LIGHTNING_ADDRESS;
// Calculate subscription amount based on type // Calculate subscription amount based on type
const getAmount = (subscriptionType) => { const getAmount = (subscriptionType) => {
// 500K for yearly (saves ~17% compared to monthly), 50K for monthly // 500K for yearly (saves ~17% compared to monthly), 50K for monthly
return subscriptionType === 'yearly' ? 500 : 50; return subscriptionType === 'yearly' ? 500000 : 50000;
}; };
export default async function handler(req, res) { export default async function handler(req, res) {