mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +08:00
修复开发环境反复刷新的问题
This commit is contained in:
parent
28843eed82
commit
262164c5ad
@ -502,7 +502,8 @@ export function ChatActions(props: {
|
|||||||
);
|
);
|
||||||
showToast(nextModel);
|
showToast(nextModel);
|
||||||
}
|
}
|
||||||
}, [chatStore, currentModel, models, props]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, [chatStore, currentModel, models]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles["chat-input-actions"]}>
|
<div className={styles["chat-input-actions"]}>
|
||||||
|
Loading…
Reference in New Issue
Block a user