diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index c42c14175..458b5bcc4 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -4615,6 +4615,7 @@ export function App({ } function prepareChatCommandDraft(commandDraft: string) { + chatComposerRef.current?.clear(); chatComposerRef.current?.replaceText(commandDraft); window.setTimeout(() => chatInputRef.current?.focus(), 0); }