fix: syntax errors

This commit is contained in:
Junyan Qin
2025-08-24 21:46:20 +08:00
parent 64764c412b
commit 8a370a260e
2 changed files with 11 additions and 4 deletions
@@ -38,7 +38,7 @@ import {
SelectValue,
} from '@/components/ui/select';
import { toast } from 'sonner';
import { i18nObj } from '@/i18n/I18nProvider';
import { extractI18nObject } from '@/i18n/I18nProvider';
const getExtraArgSchema = (t: (key: string) => string) =>
z
@@ -184,7 +184,7 @@ export default function EmbeddingForm({
setRequesterNameList(
requesterNameList.requesters.map((item) => {
return {
label: i18nObj(item.label),
label: extractI18nObject(item.label),
value: item.name,
};
}),