From 8b2803e0af75f391134c0ace0678b60b331e74eb Mon Sep 17 00:00:00 2001 From: noxire-dev Date: Wed, 8 Apr 2026 11:07:14 +0300 Subject: [PATCH] Fix persisted composer image hydration typo - Rename the image attachment hydration helper to the correct spelling - Update its call site in persisted draft restoration --- apps/web/src/composerDraftStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/composerDraftStore.ts b/apps/web/src/composerDraftStore.ts index 8a93b7b0daa..e204f3f5e71 100644 --- a/apps/web/src/composerDraftStore.ts +++ b/apps/web/src/composerDraftStore.ts @@ -1180,7 +1180,7 @@ function verifyPersistedAttachments( }); } -function hydreatePersistedComposerImageAttachment( +function hydratePersistedComposerImageAttachment( attachment: PersistedComposerImageAttachment, ): File | null { const commaIndex = attachment.dataUrl.indexOf(","); @@ -1216,7 +1216,7 @@ function hydrateImagesFromPersisted( attachments: ReadonlyArray, ): ComposerImageAttachment[] { return attachments.flatMap((attachment) => { - const file = hydreatePersistedComposerImageAttachment(attachment); + const file = hydratePersistedComposerImageAttachment(attachment); if (!file) return []; return [