fix prompt selection
This commit is contained in:
@@ -43,7 +43,7 @@ export const ChatInput = ({
|
||||
onScrollDownClick,
|
||||
stopConversationRef,
|
||||
textareaRef,
|
||||
showScrollDownButton
|
||||
showScrollDownButton,
|
||||
}: Props) => {
|
||||
const { t } = useTranslation('chat');
|
||||
|
||||
@@ -371,7 +371,7 @@ export const ChatInput = ({
|
||||
|
||||
{isModalVisible && (
|
||||
<VariableModal
|
||||
prompt={prompts[activePromptIndex]}
|
||||
prompt={filteredPrompts[activePromptIndex]}
|
||||
variables={variables}
|
||||
onSubmit={handleSubmit}
|
||||
onClose={() => setIsModalVisible(false)}
|
||||
|
||||
Reference in New Issue
Block a user