From 6e362098b2f94e7d874b75ce170419e6fe9d52dc Mon Sep 17 00:00:00 2001 From: Warrick Corfe-Tan Date: Fri, 30 Jul 2021 11:56:17 +1000 Subject: [PATCH] pass in prop --- ts/components/ConversationListItem.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/components/ConversationListItem.tsx b/ts/components/ConversationListItem.tsx index 7ac984efe..93a0eb2c7 100644 --- a/ts/components/ConversationListItem.tsx +++ b/ts/components/ConversationListItem.tsx @@ -60,6 +60,7 @@ const HeaderItem = (props: { profileName?: string; conversationId: string; isPinned: boolean; + currentNotificationSetting: ConversationNotificationSettingType; }) => { const { unreadCount, @@ -70,6 +71,7 @@ const HeaderItem = (props: { conversationId, profileName, name, + currentNotificationSetting } = props; const theme = useTheme(); @@ -325,7 +327,6 @@ const ConversationListItem = (props: Props) => { profileName={profileName} currentNotificationSetting={currentNotificationSetting} /> - />