Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#3356 from durianice/pr_merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Nov 27, 2023
2 parents 84f4126 + 261a8fd commit bfb7b98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,7 @@ export function ChatActions(props: {
);
showToast(nextModel);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [currentModel, models]);
}, [chatStore, currentModel, models]);

return (
<div className={styles["chat-input-actions"]}>
Expand Down

0 comments on commit bfb7b98

Please sign in to comment.