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:
parent
17000293b1
commit
47abf4061c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue