diff --git a/layouts/LayoutDefault.tsx b/layouts/LayoutDefault.tsx index 341ab77..c148e0a 100644 --- a/layouts/LayoutDefault.tsx +++ b/layouts/LayoutDefault.tsx @@ -54,7 +54,7 @@ export default function LayoutDefault({ // } // }, [isConversationListExpanded]); - function handleDeleteConversation(conversationId: ConversationsId) { + function handleDeleteConversation(conversationId: string) { removeConversation(conversationId); trpc.chat.deleteConversation.mutate({ id: conversationId }); } @@ -95,10 +95,9 @@ export default function LayoutDefault({ } - rightSection={ - <> + label={ + + Chats - - + + } + leftSection={} + rightSection={ + } variant="subtle" active={urlPathname.startsWith("/chat")} + defaultOpened={true} > {conversations.map((conversation) => (