The best way to control Claude Code, Codex and more from any computer or phone
Fix persisted composer image hydration typo (#1831)
Noxire committed
Apr 9, 2026 at 21:20 UTC
386eb18a587b0a791991342b0c6bc49b3e73d3d5
1 file changed
+2
-2
apps/web/src/composerDraftStore.ts
+2
-2
@@ -1657,7 +1657,7 @@ function verifyPersistedAttachments(
1657
});
1658
}
1659
1660
-function hydreatePersistedComposerImageAttachment(
1660
+function hydratePersistedComposerImageAttachment(
1661
attachment: PersistedComposerImageAttachment,
1662
): File | null {
1663
const commaIndex = attachment.dataUrl.indexOf(",");
@@ -1693,7 +1693,7 @@ function hydrateImagesFromPersisted(
1693
attachments: ReadonlyArray<PersistedComposerImageAttachment>,
1694
): ComposerImageAttachment[] {
1695
return attachments.flatMap((attachment) => {
1696
- const file = hydreatePersistedComposerImageAttachment(attachment);
1696
+ const file = hydratePersistedComposerImageAttachment(attachment);
1697
if (!file) return [];
1698
1699
return [