codev / src /components /agents /SnapshotUpdateDialog.tsx
chenbhao's picture
init: verspercode v0.1.0
064bfd6
Raw
History Blame Contribute Delete
331 Bytes
import { useEffect } from 'react'
type Props = {
agentType: string
scope: unknown
snapshotTimestamp: string
onComplete: (choice: 'merge' | 'keep' | 'replace') => void
onCancel: () => void
}
export function SnapshotUpdateDialog({ onCancel }: Props) {
useEffect(() => {
onCancel()
}, [onCancel])
return null
}