fix eslint error

This commit is contained in:
lloydzhou 2024-07-09 18:19:34 +08:00
parent 9d2a633f5e
commit 82be426f78
1 changed files with 1 additions and 1 deletions

View File

@ -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 {