Skip to content

Commit

Permalink
Remove double click on chat button to set mode
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Oct 24, 2023
1 parent 206345b commit a35f259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/chat/components/composer/Composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ export function Composer(props: {
const chatButton = (
<Button
fullWidth variant={isWriteUser ? 'soft' : 'solid'} color={isReAct ? 'success' : isFollowUp ? 'warning' : 'primary'} disabled={!props.conversationId || !chatLLM}
onClick={handleSendClicked} onDoubleClick={handleToggleChatMode}
onClick={handleSendClicked}
endDecorator={isWriteUser ? <SendIcon sx={{ fontSize: 18 }} /> : isReAct ? <PsychologyIcon /> : <TelegramIcon />}
>
{isWriteUser ? 'Write' : isReAct ? 'ReAct' : isFollowUp ? 'Chat+' : 'Chat'}
Expand Down

1 comment on commit a35f259

@vercel
Copy link

@vercel vercel bot commented on a35f259 Oct 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

big-agi – ./

big-agi-git-main-enricoros.vercel.app
big-agi-enricoros.vercel.app
get.big-agi.com

Please sign in to comment.