TypeScript
fix(web): pinned threads' pin icon stays put on hover (#22303)
Theo Browne67c0fc0cdaf9
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsxindex b036590edd0..bcd24bf8498 100644--- a/apps/web/src/components/Sidebar.tsx+++ b/apps/web/src/components/Sidebar.tsx@@ -2301,6 +2301,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP{props.project ? (<ProjectFavicon project={props.project} className="size-4 shrink-0" />) : null}+ {/* Left of the status slot, the pin would slide when hover swaps the+ label for the wider row controls. */}+ {pinIndicator}{props.projectDisplayName ? (<spanclassName={cn(@@ -2313,7 +2316,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP) : (<span className="flex-1" />)}- {pinIndicator}{sortable?.isDragging ? (dragDestination) : (