diff --git a/website/src/components/Chat/ChatListBase.tsx b/website/src/components/Chat/ChatListBase.tsx index 44941334be..98013789b4 100644 --- a/website/src/components/Chat/ChatListBase.tsx +++ b/website/src/components/Chat/ChatListBase.tsx @@ -12,7 +12,11 @@ import { CreateChatButton } from "./CreateChatButton"; import { InferencePoweredBy } from "./InferencePoweredBy"; import { ChatListViewSelection, useListChatPagination } from "./useListChatPagination"; -export const ChatListBase = memo(function ChatListBase({ allowViews, ...props }: CardProps & { allowViews?: boolean }) { +export const ChatListBase = memo(function ChatListBase({ + allowViews, + minHeight, + ...props +}: CardProps & { allowViews?: boolean; minHeight?: string }) { const [view, setView] = useState("visible"); const { loadMoreRef, responses, mutateChatResponses } = useListChatPagination(view); const chats = responses?.flatMap((response) => response.chats) || []; @@ -92,12 +96,7 @@ export const ChatListBase = memo(function ChatListBase({ allowViews, ...props }: setView(e.target.value as ChatListViewSelection)} /> )} - + {chats.map((chat) => ( { bg: "gray.700", }} shadow="md" + minHeight="300px" /> );