mirror of
https://github.com/coaidev/coai.git
synced 2025-05-30 10:20:21 +09:00
fix toast
This commit is contained in:
parent
402ee8b52c
commit
5bb1fca7eb
@ -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));
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user