forked from ddrilling/asb_cloud_front
использование data заменено на prevData
This commit is contained in:
parent
0de213c3dc
commit
8dfc6f0832
@ -61,7 +61,7 @@ export default function Measure({idWell}){
|
|||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setData(prevData => {
|
setData(prevData => {
|
||||||
data[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : (
|
prevData[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : (
|
||||||
<Button
|
<Button
|
||||||
key={'table'}
|
key={'table'}
|
||||||
className={'flex-1'}
|
className={'flex-1'}
|
||||||
|
Loading…
Reference in New Issue
Block a user