import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Badge } from '@/components/ui/badge'; import { Shield, ShieldCheck, MousePointerClick, AlertTriangle } from 'lucide-react'; import { useRightClickRestorer } from './useRightClickRestorer'; import { useLazyTranslation } from '@/utils/useLazyTranslation'; export default function RightClickRestorerPage() { const { t } = useLazyTranslation('rightClickRestorer'); const { domain, isLoading, isUnlocked, isUnsupported, unlock } = useRightClickRestorer(); if (isLoading) { return (
{domain || '—'}
{isUnsupported ? (
{t('rightClickRestorer:unsupportedDesc')}
> ) : ( <>{t('rightClickRestorer:unlockDesc')}
> )}