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(() => {
|
||||
setData(prevData => {
|
||||
data[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : (
|
||||
prevData[2].additionalButtons = (group, idx) => (isEditing) => isEditing ? null : (
|
||||
<Button
|
||||
key={'table'}
|
||||
className={'flex-1'}
|
||||
|
Loading…
Reference in New Issue
Block a user