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