From c4232ac95aa23663fa73dd10cb8b13e3f12a339a Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Fri, 26 Jan 2024 18:17:02 +0500 Subject: [PATCH] web: do not send hash when updating attachment --- apps/web/src/components/editor/tiptap.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web/src/components/editor/tiptap.tsx b/apps/web/src/components/editor/tiptap.tsx index e79771f62..1021b1836 100644 --- a/apps/web/src/components/editor/tiptap.tsx +++ b/apps/web/src/components/editor/tiptap.tsx @@ -444,7 +444,6 @@ function toIEditor(editor: Editor): IEditor { sendAttachmentProgress: (hash, progress) => editor.current?.commands.updateAttachment( { - hash, progress }, { query: (a) => a.hash === hash, preventUpdate: true }