From a7293f616b53548437690514a2055044ef8a4c9a Mon Sep 17 00:00:00 2001 From: KharchenkoVV Date: Mon, 30 Aug 2021 16:22:18 +0500 Subject: [PATCH] Removed footer from 'TVD' modal window --- src/pages/Cluster/ClusterWells.jsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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} >