Fixing DeleteDialog in transfertype

This commit is contained in:
bagusajisaputroo
2025-04-10 16:55:24 +07:00
parent b042f3174b
commit 42e91f376b

View File

@ -40,7 +40,6 @@ const DeleteDialog = () => {
setTimeout(() => toast.error('Failed Delete Product'), 0); setTimeout(() => toast.error('Failed Delete Product'), 0);
} }
}, [selectedTransferType, DeleteData, handleDeleteDialog, reload]); }, [selectedTransferType, DeleteData, handleDeleteDialog, reload]);
return ( return (
<Dialog open={showDeleteDialog} onOpenChange={(open) => handleDeleteDialog(open, null)}> <Dialog open={showDeleteDialog} onOpenChange={(open) => handleDeleteDialog(open, null)}>
<DialogContent className="container-fixed max-w-md flex flex-col p-5 overflow-hidden [&>button]:hidden"> <DialogContent className="container-fixed max-w-md flex flex-col p-5 overflow-hidden [&>button]:hidden">