From 7ccc5be9b42f41a6e9877d44d988d7256d45548d Mon Sep 17 00:00:00 2001 From: nimbleghost <132819643+nimbleghost@users.noreply.github.com> Date: Wed, 24 May 2023 21:10:09 +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 553f9af9..4413aef1 100644 --- a/web/src/components/PublishDialog.jsx +++ b/web/src/components/PublishDialog.jsx @@ -467,10 +467,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 })} ))}