This commit is contained in:
Kaitlyn 2023-05-05 12:14:13 -04:00
Родитель 748a3588ad
Коммит 8927be762a
1 изменённых файлов: 14 добавлений и 15 удалений

Просмотреть файл

@ -107,20 +107,20 @@ const alertOptions = ({ csrfToken, allEmailsToPrimary }) => `
</div>
`
const cancelPremiumSubscription = () => `
<section>
<h3 class='settings-section-title'>
${getMessage('settings-cancel-premium-subscription-title')}
</h3>
<p class='settings-section-info'>${getMessage('settings-cancel-premium-subscription-info')}</p>
<a
class='settings-link-fxa'
href='${AppConstants.FXA_SETTINGS_URL}'
target='_blank'
>
${getMessage('settings-cancel-premium-subscription-link-label')}
</a>
</section>
<hr>
<hr>
<section>
<h3 class='settings-section-title'>
${getMessage('settings-cancel-premium-subscription-title')}
</h3>
<p class='settings-section-info'>${getMessage('settings-cancel-premium-subscription-info')}</p>
<a
class='settings-link-fxa'
href='${AppConstants.FXA_SETTINGS_URL}'
target='_blank'
>
${getMessage('settings-cancel-premium-subscription-link-label')}
</a>
</section>
`
/**
@ -166,7 +166,6 @@ export const settings = data => {
${alertOptions({ csrfToken, allEmailsToPrimary })}
</section>
<hr>
${AppConstants.CANCEL_SUBSCRIPTION_FLOW ? cancelPremiumSubscription() : '<hr>'}
<!-- Deactivate account -->