diff --git a/src/pages/Cluster/ClusterWells.jsx b/src/pages/Cluster/ClusterWells.jsx index dd54110..26a8da8 100644 --- a/src/pages/Cluster/ClusterWells.jsx +++ b/src/pages/Cluster/ClusterWells.jsx @@ -74,10 +74,6 @@ export default function ClusterWells({ clusterData }) { } }, [selectedWellId]); - const closeModal = () => { - setIsModalVisible(false) - } - calcAndUpdateStatsBySections(wellsStat ?? [], [ "factStart", "factEnd", @@ -168,9 +164,9 @@ export default function ClusterWells({ clusterData }) { title='TVD' centered visible={isModalVisible} - onOk={closeModal} - onCancel={closeModal} + onCancel={() => setIsModalVisible(false)} width={1500} + footer={null} >