import React from 'react'; import Dialog from '@/components/Dialog'; import { useTranslation } from '@/hooks/useTranslation'; import { SyncDetails } from '../hooks/useKOSync'; interface KOSyncConflictResolverProps { details: SyncDetails | null; onResolveWithLocal: () => void; onResolveWithRemote: () => void; onClose: () => void; } const KOSyncConflictResolver: React.FC = ({ details, onResolveWithLocal, onResolveWithRemote, onClose, }) => { const _ = useTranslation(); if (!details) return null; return (

{_('Sync reading progress from "{{deviceName}}"?', { deviceName: details.remote.device || _('another device'), })}

); }; export default KOSyncConflictResolver;