diff --git a/apps/web/src/composerDraftStore.ts b/apps/web/src/composerDraftStore.ts index f3146d768d408bd198c6fdf798e81f17a43554f1..b40d06b085db2c533d3a94c63e16623bd937f9d0 100644 --- a/apps/web/src/composerDraftStore.ts +++ b/apps/web/src/composerDraftStore.ts @@ -1657,7 +1657,7 @@ function verifyPersistedAttachments( }); } -function hydreatePersistedComposerImageAttachment( +function hydratePersistedComposerImageAttachment( attachment: PersistedComposerImageAttachment, ): File | null { const commaIndex = attachment.dataUrl.indexOf(","); @@ -1693,7 +1693,7 @@ function hydrateImagesFromPersisted( attachments: ReadonlyArray, ): ComposerImageAttachment[] { return attachments.flatMap((attachment) => { - const file = hydreatePersistedComposerImageAttachment(attachment); + const file = hydratePersistedComposerImageAttachment(attachment); if (!file) return []; return [