Skip to content

Commit

Permalink
hotfix: Conversation panel toggle should change color given state (Al…
Browse files Browse the repository at this point in the history
  • Loading branch information
amanape authored Feb 18, 2025
1 parent 7a3a0d8 commit 96d1992
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/src/components/features/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { TooltipButton } from "#/components/shared/buttons/tooltip-button";
import { ConversationPanelWrapper } from "../conversation-panel/conversation-panel-wrapper";
import { useLogout } from "#/hooks/mutation/use-logout";
import { useConfig } from "#/hooks/query/use-config";
import { cn } from "#/utils/utils";

export function Sidebar() {
const dispatch = useDispatch();
Expand Down Expand Up @@ -83,7 +84,12 @@ export function Sidebar() {
ariaLabel="Conversations"
onClick={() => setConversationPanelIsOpen((prev) => !prev)}
>
<FaListUl size={22} />
<FaListUl
size={22}
className={cn(
conversationPanelIsOpen ? "text-white" : "text-[#9099AC]",
)}
/>
</TooltipButton>
<DocsButton />
</div>
Expand Down

0 comments on commit 96d1992

Please sign in to comment.