Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Fix typo in code comment for DraftEditor #1991

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/component/base/DraftEditor.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class DraftEditor extends React.Component<DraftEditorProps, State> {
* run Flow. */
ReactDOM.unstable_flushControlled;
// Wrap event handlers in `flushControlled`. In sync mode, this is
// effetively a no-op. In async mode, this ensures all updates scheduled
// effectively a no-op. In async mode, this ensures all updates scheduled
// inside the handler are flushed before React yields to the browser.
return e => {
if (!this.props.readOnly) {
Expand Down