diff --git a/packages/editor-ui/src/__tests__/render.ts b/packages/editor-ui/src/__tests__/render.ts index e46b615993..3bc310f790 100644 --- a/packages/editor-ui/src/__tests__/render.ts +++ b/packages/editor-ui/src/__tests__/render.ts @@ -1,6 +1,6 @@ import type { Plugin } from 'vue'; import { render } from '@testing-library/vue'; -import { i18nInstance, I18nPlugin } from '@/plugins/i18n'; +import { i18nInstance } from '@/plugins/i18n'; import { GlobalComponentsPlugin } from '@/plugins/components'; import { GlobalDirectivesPlugin } from '@/plugins/directives'; import { FontAwesomePlugin } from '@/plugins/icons'; @@ -32,7 +32,6 @@ const defaultOptions = { 'vue-json-pretty': vueJsonPretty, }, plugins: [ - I18nPlugin, i18nInstance, PiniaVuePlugin, FontAwesomePlugin, diff --git a/packages/editor-ui/src/components/AskAssistant/NewAssistantSessionModal.vue b/packages/editor-ui/src/components/AskAssistant/NewAssistantSessionModal.vue index 27e0054d77..4113aeecf4 100644 --- a/packages/editor-ui/src/components/AskAssistant/NewAssistantSessionModal.vue +++ b/packages/editor-ui/src/components/AskAssistant/NewAssistantSessionModal.vue @@ -66,9 +66,9 @@ const startNewSession = async () => {