Skip to content

Commit

Permalink
fix: Hitting backspace key in data browser crashes dashboard (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Jun 10, 2023
1 parent ca33d08 commit 32aeea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BrowserCell/BrowserCell.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default class BrowserCell extends Component {
componentDidUpdate(prevProps) {
if ( this.props.value !== prevProps.value ) {
this.renderCellContent();
this.props.value._previousSave
this.props.value?._previousSave
?.then(() => this.renderCellContent())
?.catch(err => console.log(err))
}
Expand Down

0 comments on commit 32aeea2

Please sign in to comment.