mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
convo selection handling in progress
This commit is contained in:
parent
c794287ced
commit
d35ed31b20
5 changed files with 32 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import React from 'react';
|
||||
import Conversation from './Conversation';
|
||||
|
||||
export default function Conversations({ conversations }) {
|
||||
export default function Conversations({ conversations, convoHandler }) {
|
||||
return (
|
||||
<div className="-mr-2 flex-1 flex-col overflow-y-auto border-b border-white/20">
|
||||
<div className="flex flex-col gap-2 text-sm text-gray-100">
|
||||
|
|
@ -10,6 +10,7 @@ export default function Conversations({ conversations }) {
|
|||
<Conversation
|
||||
key={convo.conversationId}
|
||||
title={convo.title}
|
||||
onClick={() => convoHandler(convo.conversationId)}
|
||||
/>
|
||||
))}
|
||||
{conversations && conversations.length >= 12 && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue