mirror of
https://github.com/gosticks/react-table.git
synced 2026-06-28 17:10:01 +00:00
@@ -63,7 +63,7 @@ const EditableCell = ({
|
||||
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(() => {
|
||||
setValue(initialValue)
|
||||
}, [initialValue])
|
||||
|
||||
Reference in New Issue
Block a user