From 3b2398d0e0a718065866badcb14c3cb969e1f736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Sim=C3=B5es?= Date: Mon, 25 May 2026 21:17:10 -0300 Subject: [PATCH] perf: remvido actve do button houuse --- src/components/AppSidebar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/AppSidebar.tsx b/src/components/AppSidebar.tsx index e48b223..8d9a0d3 100644 --- a/src/components/AppSidebar.tsx +++ b/src/components/AppSidebar.tsx @@ -627,12 +627,12 @@ export function AppSidebar() { onClick={() => navigate("/")} className={cn( "w-9 h-9 flex items-center justify-center rounded-md transition-all duration-200 mb-3 shrink-0", - !selectedClient + view === "home" ? "bg-foreground text-background shadow-sm" : "bg-foreground/[0.06] text-muted-foreground hover:bg-foreground/[0.12] hover:text-foreground" )} aria-label="Ir para o inĂ­cio" - style={!selectedClient ? { viewTransitionName: "home-btn" } : undefined} + style={view === "home" ? { viewTransitionName: "home-btn" } : undefined} >