Fix missing key prop warnings
[MAILPOET-5242]
This commit is contained in:
@@ -43,8 +43,9 @@ export const step: StepType = {
|
|||||||
'mailpoet',
|
'mailpoet',
|
||||||
),
|
),
|
||||||
/\[link\](.*?)\[\/link\]/g,
|
/\[link\](.*?)\[\/link\]/g,
|
||||||
(match) => (
|
(match, i) => (
|
||||||
<a
|
<a
|
||||||
|
key={i}
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
|
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
@@ -70,8 +71,9 @@ export const step: StepType = {
|
|||||||
'mailpoet',
|
'mailpoet',
|
||||||
),
|
),
|
||||||
/\[link\](.*?)\[\/link\]/g,
|
/\[link\](.*?)\[\/link\]/g,
|
||||||
(match) => (
|
(match, i) => (
|
||||||
<a
|
<a
|
||||||
|
key={i}
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
|
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
Reference in New Issue
Block a user