From 593c317bf12e3443c4fe2900eb2d4b8b50c9b80a Mon Sep 17 00:00:00 2001 From: Saurav Gurhale Date: Thu, 6 Apr 2023 14:09:08 -0400 Subject: [PATCH] small fix for recipient-selector ListBox options must be unique --- apps/web/components/editor/recipient-selector.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/components/editor/recipient-selector.tsx b/apps/web/components/editor/recipient-selector.tsx index d38bb2d1b..b5a0a494b 100644 --- a/apps/web/components/editor/recipient-selector.tsx +++ b/apps/web/components/editor/recipient-selector.tsx @@ -66,7 +66,7 @@ export default function RecipientSelector(props: any) { selected ? "font-semibold" : "font-normal", "ml-3 block truncate" )}> - {`${selectedRecipient?.name} <${selectedRecipient?.email}>`} + {`${recipient?.name} <${recipient?.email}>`}