From 3650d8d7bfa5debb0167c3512defe3fced87a393 Mon Sep 17 00:00:00 2001 From: Matri Date: Sat, 1 Apr 2023 15:40:25 +0800 Subject: [PATCH] fix: prompts list height (#340) --- components/Chat/ChatInput.tsx | 2 +- components/Chat/SystemPrompt.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Chat/ChatInput.tsx b/components/Chat/ChatInput.tsx index d8ab132..2a7b5de 100644 --- a/components/Chat/ChatInput.tsx +++ b/components/Chat/ChatInput.tsx @@ -289,7 +289,7 @@ export const ChatInput: FC = ({ - {showPromptList && prompts.length > 0 && ( + {showPromptList && filteredPrompts.length > 0 && (
= ({ onKeyDown={handleKeyDown} /> - {showPromptList && prompts.length > 0 && ( + {showPromptList && filteredPrompts.length > 0 && (