Skip to content

Commit

Permalink
fix prompt selection
Browse files Browse the repository at this point in the history
  • Loading branch information
mckaywrigley committed Apr 19, 2023
1 parent c7be455 commit ab9f108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Chat/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ChatInput = ({
onScrollDownClick,
stopConversationRef,
textareaRef,
showScrollDownButton
showScrollDownButton,
}: Props) => {
const { t } = useTranslation('chat');

Expand Down Expand Up @@ -371,7 +371,7 @@ export const ChatInput = ({

{isModalVisible && (
<VariableModal
prompt={prompts[activePromptIndex]}
prompt={filteredPrompts[activePromptIndex]}
variables={variables}
onSubmit={handleSubmit}
onClose={() => setIsModalVisible(false)}
Expand Down

1 comment on commit ab9f108

@vercel
Copy link

@vercel vercel bot commented on ab9f108 Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.