Fix persisted composer image hydration typo (#1831)

This commit is contained in:
Noxire authored and GitHub committed 2026-04-09 18:20:47 +00:00
1 parent 7372184d06
commit 386eb18a58
1 file changed
+2 -2
+2 -2
View File
@@ -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 [