import { useStore } from "@/lib/states" import { Button } from "./ui/button" import { Dialog, DialogContent, DialogTitle } from "./ui/dialog" interface InteractiveSegReplaceModal { show: boolean onClose: () => void onCleanClick: () => void onReplaceClick: () => void } const InteractiveSegReplaceModal = (props: InteractiveSegReplaceModal) => { const { show, onClose, onCleanClick, onReplaceClick } = props const onOpenChange = (open: boolean) => { if (!open) { onClose() } } return ( ) } const InteractiveSegConfirmActions = () => { const [ interactiveSegState, resetInteractiveSegState, handleInteractiveSegAccept, ] = useStore((state) => [ state.interactiveSegState, state.resetInteractiveSegState, state.handleInteractiveSegAccept, ]) if (!interactiveSegState.isInteractiveSeg) { return null } return (