TypeScript
Fix persisted composer image hydration typo (#1831)
Noxire386eb18a587b
diff --git a/apps/web/src/composerDraftStore.ts b/apps/web/src/composerDraftStore.tsindex f3146d768d4..b40d06b085d 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<PersistedComposerImageAttachment>,): ComposerImageAttachment[] {return attachments.flatMap((attachment) => {- const file = hydreatePersistedComposerImageAttachment(attachment);+ const file = hydratePersistedComposerImageAttachment(attachment);if (!file) return [];return [