Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
Add comment on code purpose
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Sep 18, 2021
1 parent 617d19c commit 305bf53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/blocks/Table/Cell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Cell extends Component {
) {
this.props.onSelectCell(this.props.row, this.props.cell);

// Wait for Slate to initialize before asking it to focus
if (this.state.editor) {
setTimeout(
() => !this.isUnmounted && ReactEditor.focus(this.state.editor),
Expand Down

0 comments on commit 305bf53

Please sign in to comment.