diff --git a/web/app/components/plugins/marketplace/list/card-wrapper.tsx b/web/app/components/plugins/marketplace/list/card-wrapper.tsx index b58afa051f..fd16cd1e6b 100644 --- a/web/app/components/plugins/marketplace/list/card-wrapper.tsx +++ b/web/app/components/plugins/marketplace/list/card-wrapper.tsx @@ -8,6 +8,7 @@ import Button from '@/app/components/base/button' import { useMixedTranslation } from '@/app/components/plugins/marketplace/hooks' import InstallFromMarketplace from '@/app/components/plugins/install-plugin/install-from-marketplace' import { useBoolean } from 'ahooks' +import { useI18N } from '@/context/i18n' type CardWrapperProps = { plugin: Plugin @@ -24,6 +25,7 @@ const CardWrapper = ({ setTrue: showInstallFromMarketplace, setFalse: hideInstallFromMarketplace, }] = useBoolean(false) + const { locale: localeFromLocale } = useI18N() if (showInstallButton) { return ( @@ -54,7 +56,7 @@ const CardWrapper = ({