| ... | @@ -1657,7 +1657,7 @@ function verifyPersistedAttachments( | ... | @@ -1657,7 +1657,7 @@ function verifyPersistedAttachments( |
| 1657 | }); | 1657 | }); |
| 1658 | } | 1658 | } |
| 1659 | | 1659 | |
| 1660 | function hydreatePersistedComposerImageAttachment( | 1660 | function hydratePersistedComposerImageAttachment( |
| 1661 | attachment: PersistedComposerImageAttachment, | 1661 | attachment: PersistedComposerImageAttachment, |
| 1662 | ): File | null { | 1662 | ): File | null { |
| 1663 | const commaIndex = attachment.dataUrl.indexOf(","); | 1663 | const commaIndex = attachment.dataUrl.indexOf(","); |
| ... | @@ -1693,7 +1693,7 @@ function hydrateImagesFromPersisted( | ... | @@ -1693,7 +1693,7 @@ function hydrateImagesFromPersisted( |
| 1693 | attachments: ReadonlyArray<PersistedComposerImageAttachment>, | 1693 | attachments: ReadonlyArray<PersistedComposerImageAttachment>, |
| 1694 | ): ComposerImageAttachment[] { | 1694 | ): ComposerImageAttachment[] { |
| 1695 | return attachments.flatMap((attachment) => { | 1695 | return attachments.flatMap((attachment) => { |
| 1696 | const file = hydreatePersistedComposerImageAttachment(attachment); | 1696 | const file = hydratePersistedComposerImageAttachment(attachment); |
| 1697 | if (!file) return []; | 1697 | if (!file) return []; |
| 1698 | | 1698 | |
| 1699 | return [ | 1699 | return [ |