From 0f89b1134d5c8ee5d2dfb79d6210a8361f27a441 Mon Sep 17 00:00:00 2001 From: William Grant Date: Mon, 27 May 2024 14:17:24 +1000 Subject: [PATCH] fix: revert naming convo render functions as components it broke the search input for some reason --- ts/components/leftpane/LeftPaneMessageSection.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ts/components/leftpane/LeftPaneMessageSection.tsx b/ts/components/leftpane/LeftPaneMessageSection.tsx index 9a1dffa60..0727d0565 100644 --- a/ts/components/leftpane/LeftPaneMessageSection.tsx +++ b/ts/components/leftpane/LeftPaneMessageSection.tsx @@ -82,7 +82,7 @@ export const LeftPaneMessageSection = () => { return ; }; - const ConversationList = () => { + const renderList = () => { if (!isEmpty(searchTerm)) { return ; } @@ -113,7 +113,7 @@ export const LeftPaneMessageSection = () => { ); }; - const Conversations = () => { + const renderConversations = () => { return ( @@ -122,7 +122,7 @@ export const LeftPaneMessageSection = () => { window.inboxStore?.dispatch(setLeftOverlayMode('message-requests')); }} /> - + {renderList()} ); }; @@ -130,7 +130,7 @@ export const LeftPaneMessageSection = () => { return ( - {leftOverlayMode ? : } + {leftOverlayMode ? : renderConversations()} ); };