chore: upgrade deps

This commit is contained in:
Mo
2022-03-21 12:13:10 -05:00
parent bd9a6e2ae5
commit cd243f39c6
21 changed files with 214 additions and 271 deletions

View File

@@ -274,7 +274,7 @@ export const NotesOptions = observer(
const duplicateSelectedItems = () => {
notes.forEach((note) => {
application.duplicateItem(note);
application.mutator.duplicateItem(note);
});
};

View File

@@ -86,7 +86,7 @@ export const ChangeEditorMenu: FunctionComponent<ChangeEditorMenuProps> = ({
) => {
if (component) {
if (component.conflictOf) {
application.changeAndSaveItem(component.uuid, (mutator) => {
application.mutator.changeAndSaveItem(component.uuid, (mutator) => {
mutator.conflictOf = undefined;
});
}
@@ -151,7 +151,7 @@ export const ChangeEditorMenu: FunctionComponent<ChangeEditorMenuProps> = ({
);
}
await application.runTransactionalMutations(transactions);
await application.mutator.runTransactionalMutations(transactions);
/** Dirtying can happen above */
application.sync.sync();