From a7095737edb9f46f7d9c6865e5d21acaaaedb522 Mon Sep 17 00:00:00 2001 From: Brian Broll Date: Wed, 1 Dec 2021 13:20:34 -0600 Subject: [PATCH] Fix typo "bodyToUpser" -> "bodyToUpsert" --- src/editor/Editor.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}