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 : (