Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
Fix persisted composer image hydration typo (#1831)
Noxire386eb18a587b
diff --git a/apps/web/src/composerDraftStore.ts b/apps/web/src/composerDraftStore.tsindex f3146d768..b40d06b08 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 [