use fill weight for the toggle right (enabled state) for research mode

This commit is contained in:
sabaimran 2024-11-04 22:01:09 -08:00
parent dc26da0a12
commit a0480d5f6c

View file

@ -582,6 +582,7 @@ export const ChatInputArea = forwardRef<HTMLTextAreaElement, ChatInputProps>((pr
<span className="text-muted-foreground text-sm">Research Mode</span> <span className="text-muted-foreground text-sm">Research Mode</span>
{useResearchMode ? ( {useResearchMode ? (
<ToggleRight <ToggleRight
weight="fill"
className={`w-6 h-6 inline-block ${props.agentColor ? convertColorToTextClass(props.agentColor) : convertColorToTextClass("orange")} rounded-full`} className={`w-6 h-6 inline-block ${props.agentColor ? convertColorToTextClass(props.agentColor) : convertColorToTextClass("orange")} rounded-full`}
/> />
) : ( ) : (