From 4a0a22566a297dea324a84fc395a219199076770 Mon Sep 17 00:00:00 2001 From: nimbleghost <132819643+nimbleghost@users.noreply.github.com> Date: Wed, 24 May 2023 17:49:16 +0200 Subject: [PATCH] Fix jsx key issue --- web/src/components/PublishDialog.jsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/components/PublishDialog.jsx b/web/src/components/PublishDialog.jsx index 48002865..3fa7f850 100644 --- a/web/src/components/PublishDialog.jsx +++ b/web/src/components/PublishDialog.jsx @@ -477,10 +477,8 @@ const PublishDialog = (props) => { "aria-label": t("publish_dialog_call_label"), }} > - {account?.phone_numbers?.map((phoneNumber, i) => ( - // TODO(eslint): Possibly just use the phone number as a key? - // eslint-disable-next-line react/no-array-index-key - + {account?.phone_numbers?.map((phoneNumber) => ( + {t("publish_dialog_call_item", { number: phoneNumber })} ))}