import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { Badge } from '@/components/ui/badge'; import { Shield, ShieldCheck, MousePointerClick } from 'lucide-react'; import { useRightClickRestorer } from './useRightClickRestorer'; import { useLazyTranslation } from '@/utils/useLazyTranslation'; export default function RightClickRestorerPage() { const { t } = useLazyTranslation('rightClickRestorer'); const { domain, isLoading, isUnlocked, unlock } = useRightClickRestorer(); if (isLoading) { return (
{t('rightClickRestorer:loading')}
); } return (
{/* Current Domain */}
{domain || '—'} {isUnlocked ? ( {t('rightClickRestorer:statusUnlocked')} ) : ( {t('rightClickRestorer:statusLocked')} )}
{/* Unlock Action */}

{t('rightClickRestorer:unlockDesc')}

); }