diff --git a/README.md b/README.md index 73a2b422c5d..7c7a6f243d6 100644 --- a/README.md +++ b/README.md @@ -348,6 +348,7 @@ If you want to add a new translation, read this [document](./docs/translation.md [@wenjiavv](https://github.com/wenjiavv) [@LeXwDeX](https://github.com/LeXwDeX) [@Licoy](https://github.com/Licoy) +[@shangmin2009](https://github.com/shangmin2009) ### Contributor diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 20a41cfa666..bdeaf358076 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -517,8 +517,7 @@ export function ChatActions(props: { ); showToast(nextModel); } - // eslint-disable-next-line react-hooks/exhaustive-deps - }, [currentModel, models]); + }, [chatStore, currentModel, models]); return (