fix: fix type errors

This commit is contained in:
Fred Liang
2023-12-24 02:39:06 +08:00
parent ae0d68c27e
commit 45798f993d
5 changed files with 46 additions and 4 deletions

View File

@@ -584,6 +584,7 @@ export function Settings() {
const accessStore = useAccessStore();
const shouldHideBalanceQuery = useMemo(() => {
const isOpenAiUrl = accessStore.openaiUrl.includes(OPENAI_BASE_URL);
return (
accessStore.hideBalanceQuery ||
isOpenAiUrl ||