From 8dfc6f08327f1e4a9b1c094cc1858889317bfe1a Mon Sep 17 00:00:00 2001 From: goodmice Date: Wed, 17 Nov 2021 15:32:48 +0500 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20data=20=D0=B7=D0=B0?= =?UTF-8?q?=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=BE=20=D0=BD=D0=B0=20prevData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Measure/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Measure/index.jsx b/src/pages/Measure/index.jsx index bdc6d5d..abfb431 100644 --- a/src/pages/Measure/index.jsx +++ b/src/pages/Measure/index.jsx @@ -61,7 +61,7 @@ export default function Measure({idWell}){ useEffect(() => { setData(prevData => { - data[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : ( + prevData[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : (