Skip to content

Commit 9fae513

Browse files
committed
bugs: disable requiring something to be selected to chat
1 parent cb3a396 commit 9fae513

File tree

1 file changed

+1
-1
lines changed
  • apps/web/client/src/app/project/[id]/_components/right-panel/chat-tab/chat-input

1 file changed

+1
-1
lines changed

apps/web/client/src/app/project/[id]/_components/right-panel/chat-tab/chat-input/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const ChatInput = observer(({
8383
return () => window.removeEventListener('keydown', handleGlobalKeyDown, true);
8484
}, []);
8585

86-
const disabled = isWaiting || editorEngine.chat.context.context.length === 0;
86+
const disabled = isWaiting
8787
const inputEmpty = !inputValue || inputValue.trim().length === 0;
8888

8989
function handleInput(e: React.ChangeEvent<HTMLTextAreaElement>) {

0 commit comments

Comments
 (0)