Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#108829)

hermes-seaeye[bot]a84a2223f82c
diff --git a/apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts b/apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts
index 990d0d172e6..30d016bdb91 100644
--- a/apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts
+++ b/apps/desktop/src/app/chat/composer/hooks/use-composer-submit.ts
@@ -144,6 +144,7 @@ export function useComposerSubmit({
}
const queueKey = activeQueueSessionKeyRef.current
+
// External requests contain only text; the unsent draft and its attachments stay in the composer.
const enqueue = () =>
void enqueueQueuedPrompt(queueKey, { text, attachments: [], ...(displayKind ? { displayKind } : {}) })
diff --git a/apps/desktop/src/components/onboarding-chat/cards/build.tsx b/apps/desktop/src/components/onboarding-chat/cards/build.tsx
index 2303c37bc20..ed79a91813f 100644
--- a/apps/desktop/src/components/onboarding-chat/cards/build.tsx
+++ b/apps/desktop/src/components/onboarding-chat/cards/build.tsx
@@ -58,6 +58,7 @@ export function FirstBuildCard({ attrs, locked }: CardProps) {
useStore($onboardingAnswers)
.committed.find(step => step.startsWith('first:'))
?.slice(6) ?? null
+
const picked = committed ?? (answeredInComposer ? '' : null)
// The 60-character limit keeps an option on one chip. The dedupe is case-insensitive because models repeat