fix toast

This commit is contained in:
Zhang Minghan 2023-09-23 23:23:27 +08:00
parent 402ee8b52c
commit 5bb1fca7eb

View File

@ -388,8 +388,9 @@ function ChatWrapper() {
onChange={(model: string) => {
if (!auth && model !== "GPT-3.5") {
toast({
title: t("login-required"),
title: t("login-require"),
})
return;
}
dispatch(setModel(model));
}}