From 1b60d7c9467b4641e045d2f1022b8036c11fa984 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Wed, 5 Jun 2024 22:55:19 -0400 Subject: [PATCH] fix: Remove delay on save after changing document emoji, closes #6999 --- app/scenes/Document/components/Document.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/scenes/Document/components/Document.tsx b/app/scenes/Document/components/Document.tsx index faaf89b5a..1ca29583a 100644 --- a/app/scenes/Document/components/Document.tsx +++ b/app/scenes/Document/components/Document.tsx @@ -383,8 +383,7 @@ class DocumentScene extends React.Component { handleChangeEmoji = action((value: string) => { this.props.document.emoji = value; - this.updateIsDirty(); - void this.autosave(); + void this.onSave(); }); goBack = () => {