Remove useless Bounce email field
This commit is contained in:
committed by
Veljko V
parent
d6ac430a0e
commit
e88aef03d9
@@ -1,41 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import { t, onChange } from 'common/functions';
|
|
||||||
import { useSetting } from 'settings/store/hooks';
|
|
||||||
import { Label, Inputs } from 'settings/components';
|
|
||||||
|
|
||||||
export default function BounceAddress() {
|
|
||||||
const [email, setEmail] = useSetting('bounce', 'address');
|
|
||||||
|
|
||||||
return (
|
|
||||||
<>
|
|
||||||
<Label
|
|
||||||
title={t('bounceEmail')}
|
|
||||||
description={(
|
|
||||||
<>
|
|
||||||
{t('yourBouncedEmails')}
|
|
||||||
{' '}
|
|
||||||
<a
|
|
||||||
href="https://kb.mailpoet.com/article/180-how-bounce-management-works-in-mailpoet-3"
|
|
||||||
data-beacon-article="58a5a7502c7d3a576d353c78"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
target="_blank"
|
|
||||||
>
|
|
||||||
{t('readMore')}
|
|
||||||
</a>
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
htmlFor="bounce-address"
|
|
||||||
/>
|
|
||||||
<Inputs>
|
|
||||||
<input
|
|
||||||
type="text"
|
|
||||||
id="bounce-address"
|
|
||||||
placeholder="bounce@mydomain.com"
|
|
||||||
data-automation-id="bounce-address-field"
|
|
||||||
value={email}
|
|
||||||
onChange={onChange(setEmail)}
|
|
||||||
/>
|
|
||||||
</Inputs>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
}
|
|
@@ -1,6 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { SaveButton } from 'settings/components';
|
import { SaveButton } from 'settings/components';
|
||||||
import BounceAddress from './bounce_address';
|
|
||||||
import TaskScheduler from './task_scheduler';
|
import TaskScheduler from './task_scheduler';
|
||||||
import Roles from './roles';
|
import Roles from './roles';
|
||||||
import Tracking from './tracking';
|
import Tracking from './tracking';
|
||||||
@@ -14,7 +13,6 @@ import Logging from './logging';
|
|||||||
export default function Advanced() {
|
export default function Advanced() {
|
||||||
return (
|
return (
|
||||||
<div className="mailpoet-settings-grid">
|
<div className="mailpoet-settings-grid">
|
||||||
<BounceAddress />
|
|
||||||
<TaskScheduler />
|
<TaskScheduler />
|
||||||
<Roles />
|
<Roles />
|
||||||
<Tracking />
|
<Tracking />
|
||||||
|
Reference in New Issue
Block a user