diff --git a/src/editor/Editor.jsx b/src/editor/Editor.jsx index ef51f3d..94577ef 100644 --- a/src/editor/Editor.jsx +++ b/src/editor/Editor.jsx @@ -182,7 +182,7 @@ export default class Editor extends Component { * { action: 'upsert', previous: prevBody, updated: updatedBody } * * // Auto-upsert based on purpose - * { action: 'upsert', body: bodyToUpser } + * { action: 'upsert', body: bodyToUpsert } * ] */ onBatchModify = (diffs, saveImmediately) => { @@ -374,4 +374,4 @@ export default class Editor extends Component { } -} \ No newline at end of file +}