File size: 331 Bytes
064bfd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 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
}
|