From b1c531fbcc99ef6ddc4cda6f4b7948c36d55877a Mon Sep 17 00:00:00 2001 From: Charles Norris <59802926+Charlesnorris509@users.noreply.github.com> Date: Mon, 17 Mar 2025 16:51:33 -0400 Subject: [PATCH 1/2] Update Navigation.tsx Typo on onCoversationClick() function it should be onConversationClick() --- frontend/src/Navigation.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Navigation.tsx b/frontend/src/Navigation.tsx index 6195baa9..49795b41 100644 --- a/frontend/src/Navigation.tsx +++ b/frontend/src/Navigation.tsx @@ -320,7 +320,7 @@ export default function Navigation({ navOpen, setNavOpen }: NavigationProps) { key={conversation.id} conversation={conversation} selectConversation={(id) => handleConversationClick(id)} - onCoversationClick={() => { + onConversationClick={() => { if (isMobile) { setNavOpen(false); } From 98abeabc0d77f06f73bb050f41b526c0292a9244 Mon Sep 17 00:00:00 2001 From: Charles Norris <59802926+Charlesnorris509@users.noreply.github.com> Date: Mon, 24 Mar 2025 16:10:41 -0400 Subject: [PATCH 2/2] Update ConversationTile.tsx --- frontend/src/conversation/ConversationTile.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/conversation/ConversationTile.tsx b/frontend/src/conversation/ConversationTile.tsx index c9efcd02..da98f1b0 100644 --- a/frontend/src/conversation/ConversationTile.tsx +++ b/frontend/src/conversation/ConversationTile.tsx @@ -29,7 +29,7 @@ interface ConversationProps { interface ConversationTileProps { conversation: ConversationProps; selectConversation: (arg1: string) => void; - onCoversationClick: () => void; //Callback to handle click on conversation tile regardless of selected or not + onConversationClick: () => void; //Callback to handle click on conversation tile regardless of selected or not onDeleteConversation: (arg1: string) => void; onSave: ({ name, id }: ConversationProps) => void; } @@ -37,7 +37,7 @@ interface ConversationTileProps { export default function ConversationTile({ conversation, selectConversation, - onCoversationClick, + onConversationClick, onDeleteConversation, onSave, }: ConversationTileProps) { @@ -188,7 +188,7 @@ export default function ConversationTile({ } }} onClick={() => { - onCoversationClick(); + onConversationClick(); conversationId !== conversation.id && selectConversation(conversation.id); }}