Skip to content

Commit

Permalink
Refactor #809
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Sep 9, 2019
1 parent c5ca87e commit 0f85ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export class BodyCell extends Component {
}

static getDerivedStateFromProps(nextProps, prevState) {
if (nextProps.editing !== prevState.editing) {
if (nextProps.editMode === 'row' && nextProps.editing !== prevState.editing) {
return {
editing: nextProps.editing
}
Expand Down

0 comments on commit 0f85ba8

Please sign in to comment.