diff --git a/web-ui/app/_components/store/AdminUiPanel.tsx b/web-ui/app/_components/store/AdminUiPanel.tsx index de790f42c..65fb58130 100644 --- a/web-ui/app/_components/store/AdminUiPanel.tsx +++ b/web-ui/app/_components/store/AdminUiPanel.tsx @@ -8,6 +8,7 @@ import { useState, } from 'react'; import { Globe } from 'lucide-react'; +import { useTranslations } from 'next-intl'; import { cn } from '../../_lib/cn'; @@ -80,6 +81,7 @@ export function AdminUiArticleSwap({ pluginName: string; children: React.ReactNode; }): React.ReactElement { + const t = useTranslations('store.adminUi'); const { open, panelId } = useAdminUi(); const ref = useRef(null); @@ -108,7 +110,7 @@ export function AdminUiArticleSwap({