Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: do not send hash when updating attachment

Abdullah Attac4232ac95aa2
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 }