diff --git a/src/app/[locale]/chat/bot/create/page.tsx b/src/app/[locale]/chat/bot/create/page.tsx index 7d6a50c..e3a4b28 100644 --- a/src/app/[locale]/chat/bot/create/page.tsx +++ b/src/app/[locale]/chat/bot/create/page.tsx @@ -39,7 +39,7 @@ const getBase64 = (img: any, callback: (url: string) => void) => { const BotCreate = React.memo(() => { const t = useTranslations('create'); - const AGENT_CLASSIFICATION_MAP: AgentClassification[] = React.useMemo( + const AGENT_CLASSIFICATION_MAP: AgentClassification[] = React.useMemo(() => [ { text: t('page.tongYongDuiHua'), value: t('page.tongYongDuiHua') }, { text: t('page.gongZuoXueXi'), value: t('page.gongZuoXueXi') },