Fix missing key prop warnings

[MAILPOET-5242]
This commit is contained in:
Jan Jakes
2023-08-08 16:05:04 +02:00
committed by Aschepikov
parent 65dc4a8e32
commit a51280091a

View File

@@ -43,8 +43,9 @@ export const step: StepType = {
'mailpoet',
),
/\[link\](.*?)\[\/link\]/g,
(match) => (
(match, i) => (
<a
key={i}
rel="noreferrer"
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
target="_blank"
@@ -70,8 +71,9 @@ export const step: StepType = {
'mailpoet',
),
/\[link\](.*?)\[\/link\]/g,
(match) => (
(match, i) => (
<a
key={i}
rel="noreferrer"
href="https://kb.mailpoet.com/article/397-how-to-set-up-an-automation"
target="_blank"