From 319a54aa2fedb89dd5412bc11da1b6f05f4b9864 Mon Sep 17 00:00:00 2001 From: StyleZhang Date: Wed, 6 Nov 2024 14:37:20 +0800 Subject: [PATCH] i18n --- web/app/components/plugins/marketplace/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/plugins/marketplace/hooks.ts b/web/app/components/plugins/marketplace/hooks.ts index 254e506912..47ad603276 100644 --- a/web/app/components/plugins/marketplace/hooks.ts +++ b/web/app/components/plugins/marketplace/hooks.ts @@ -2,7 +2,6 @@ import { useCallback, useState, } from 'react' -import i18n from 'i18next' import { useTranslation } from 'react-i18next' import { useDebounceFn } from 'ahooks' import type { Plugin } from '../types' @@ -15,6 +14,7 @@ import { getMarketplaceCollectionsAndPlugins, getMarketplacePlugins, } from './utils' +import i18n from '@/i18n/i18next-config' export const useMarketplaceCollectionsAndPlugins = () => { const [isLoading, setIsLoading] = useState(false)