Autoformat files with prettier

[MAILPOET-4075]
This commit is contained in:
Jan Jakes
2022-04-08 14:44:12 +02:00
committed by Veljko V
parent 2506ff5490
commit ab27eaee2d
592 changed files with 17992 additions and 12047 deletions

View File

@@ -2,7 +2,10 @@ import ReactStringReplace from 'react-string-replace';
import { t } from 'common/functions';
import { useSetting } from 'settings/store/hooks';
import {
Label, Inputs, SegmentsSelect, PagesSelect,
Label,
Inputs,
SegmentsSelect,
PagesSelect,
} from 'settings/components';
export default function ManageSubscription() {
@@ -12,10 +15,9 @@ export default function ManageSubscription() {
<>
<Label
title={t('manageSubTitle')}
description={(
description={
<>
{t('manageSubDescription1')}
{' '}
{t('manageSubDescription1')}{' '}
{ReactStringReplace(
t('manageSubDescription2'),
/\[link\](.*?)\[\/link\]/,
@@ -33,7 +35,7 @@ export default function ManageSubscription() {
),
)}
</>
)}
}
htmlFor="subscription-manage-page"
/>
<Inputs>
@@ -45,7 +47,12 @@ export default function ManageSubscription() {
automationId="subscription-manage-page-selection"
linkAutomationId="preview_manage_subscription_page_link"
/>
<label className="mailpoet-settings-inputs-row" htmlFor="subscription-segments">{t('subscribersCanChooseFrom')}</label>
<label
className="mailpoet-settings-inputs-row"
htmlFor="subscription-segments"
>
{t('subscribersCanChooseFrom')}
</label>
<SegmentsSelect
id="subscription-segments"
value={segments}