fix prompt selection
This commit is contained in:
parent
c7be45587f
commit
ab9f108a57
|
@ -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)}
|
||||
|
|
Loading…
Reference in New Issue