diff --git a/src/FE/components/Chat/ChatInput.tsx b/src/FE/components/Chat/ChatInput.tsx index c1a3df02..87f260e1 100644 --- a/src/FE/components/Chat/ChatInput.tsx +++ b/src/FE/components/Chat/ChatInput.tsx @@ -384,7 +384,7 @@ export const ChatInput = ({ prompts={filteredPrompts} onSelect={handleInitModal} onMouseOver={setActivePromptIndex} - ref={promptListRef} + promptListRef={promptListRef} /> )} diff --git a/src/FE/components/Chat/SystemPrompt.tsx b/src/FE/components/Chat/SystemPrompt.tsx index 9cc260c0..8edf0004 100644 --- a/src/FE/components/Chat/SystemPrompt.tsx +++ b/src/FE/components/Chat/SystemPrompt.tsx @@ -218,7 +218,7 @@ export const SystemPrompt: FC = ({ prompts={filteredPrompts} onSelect={handleInitModal} onMouseOver={setActivePromptIndex} - ref={promptListRef} + promptListRef={promptListRef} /> )}