change sidebar expand/collapse icon from pin to chevron (#4586)

This commit is contained in:
Celal Zamanoglu
2026-01-30 23:35:26 +03:00
committed by GitHub
parent 6796e36c40
commit ee1cb01377

View File

@@ -5,7 +5,7 @@ import { Link } from "react-router-dom";
import { SideNav } from "./SideNav";
import { cn } from "@/util/utils";
import { Button } from "@/components/ui/button";
import { PinLeftIcon, PinRightIcon } from "@radix-ui/react-icons";
import { ChevronLeftIcon, ChevronRightIcon } from "@radix-ui/react-icons";
type Props = {
useCollapsedState?: boolean;
@@ -37,9 +37,9 @@ function SidebarContent({ useCollapsedState }: Props) {
}}
>
{collapsed ? (
<PinRightIcon className="h-6 w-6" />
<ChevronRightIcon className="h-6 w-6" />
) : (
<PinLeftIcon className="hidden h-6 w-6 lg:block" />
<ChevronLeftIcon className="hidden h-6 w-6 lg:block" />
)}
</Button>
</div>