mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
parent
05d946ecfb
commit
c984796190
@ -63,7 +63,7 @@ const EditableCell = ({
|
|||||||
updateMyData(index, id, value)
|
updateMyData(index, id, value)
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the initialValue is changed externall, sync it up with our state
|
// If the initialValue is changed external, sync it up with our state
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
setValue(initialValue)
|
setValue(initialValue)
|
||||||
}, [initialValue])
|
}, [initialValue])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user