fix(app): clear comments on prompt submission (#12148)

This commit is contained in:
Adam 2026-02-04 11:19:03 -06:00 committed by GitHub
commit ce87121067
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 1 deletions

View file

@ -2603,7 +2603,10 @@ export default function Page() {
}}
newSessionWorktree={newSessionWorktree()}
onNewSessionWorktreeReset={() => setStore("newSessionWorktree", "main")}
onSubmit={resumeScroll}
onSubmit={() => {
comments.clear()
resumeScroll()
}}
/>
</Show>
</div>