0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Commented out tierName

refs https://github.com/TryGhost/Team/issues/1559
This commit is contained in:
Djordje Vlaisavljevic 2022-04-27 16:09:13 +02:00
parent 17000293b1
commit 47abf4061c

View file

@ -1,7 +1,7 @@
import AppContext from '../../AppContext';
import {useContext, useState} from 'react';
import Switch from '../common/Switch';
import {getProductFromPrice, getSiteNewsletters} from '../../utils/helpers';
import {getSiteNewsletters} from '../../utils/helpers';
import ActionButton from '../common/ActionButton';
import {ReactComponent as LockIcon} from '../../images/icons/lock.svg';
@ -70,8 +70,8 @@ export default function NewsletterSelectionPage({pageData}) {
const defaultNewsletters = siteNewsletters.filter((d) => {
return d.subscribe_on_signup;
});
const tier = getProductFromPrice({site, priceId: pageData.plan});
const tierName = tier?.name;
// const tier = getProductFromPrice({site, priceId: pageData.plan});
// const tierName = tier?.name;
let isRunning = false;
if (action === 'signup:running') {
isRunning = true;