import { Dialog, DialogContent, DialogFooter, DialogClose, Button, } from "@common/components"; import { useAlertStore } from "../lib/use-alert-store"; function AlertDialog() { const { message, callback, setMessage } = useAlertStore((state) => state); const handleOpenChange = () => { setMessage(""); callback?.(); }; return (

{message}

); } export { AlertDialog };