Skip to content

Commit

Permalink
Corrected typo
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwilaby committed Nov 9, 2018
1 parent fdb4b32 commit bfba226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/client/src/data/reducer/editor.ts
Expand Up @@ -245,7 +245,7 @@ export const editor = (state: EditorState = DEFAULT_STATE, action: EditorAction
const newDocs = deepCopySlow(state.editors[editorKey].documents);
// Instead of overwriting the document wholesale,
// assign the updated keys from the payload so we do not
// loose data from EditorActions.updateDocument
// lose data from EditorActions.updateDocument
if (!newDocs[action.payload.documentId]) {
newDocs[action.payload.documentId] = {};
}
Expand Down

0 comments on commit bfba226

Please sign in to comment.