mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-06 05:46:55 +08:00
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…
x
Reference in New Issue
Block a user