forked from GithubProxy/ChatGPT-Next-Web
fix eslint error
This commit is contained in:
parent
9d2a633f5e
commit
82be426f78
@ -611,7 +611,7 @@ export function ChatActions(props: {
|
||||
if (providerName == "ByteDance") {
|
||||
const selectedModel = models.find(
|
||||
(m) =>
|
||||
m.name == model && m?.provider.providerName == providerName,
|
||||
m.name == model && m?.provider?.providerName == providerName,
|
||||
);
|
||||
showToast(selectedModel?.displayName ?? "");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user