Fix formatting in SidebarV2

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Fable 5 committed 2026-07-26 19:39:42 -07:00
1 parent 63e07db893
commit f1185df227
1 file changed
+5 -6
+5 -6
View File
@@ -510,10 +510,9 @@ const SidebarV2Row = memo(function SidebarV2Row(props: {
// pill (invariant I4). A freshly woken snoozed thread also keeps its explicit
// user-action pill instead of being swallowed by monitor state.
const isBlockedOrFailed = status === "approval" || status === "input" || status === "failed";
const topStatus =
isWoke
? baseTopStatus
: isMonitorReady && !isBlockedOrFailed
const topStatus = isWoke
? baseTopStatus
: isMonitorReady && !isBlockedOrFailed
? {
label: resolveMonitorReadyLabel(thread.monitor?.blockersSummary ?? ""),
icon: "done" as const,
@@ -530,8 +529,8 @@ const SidebarV2Row = memo(function SidebarV2Row(props: {
label: "Monitoring stopped",
icon: null,
className: "text-muted-foreground/80",
}
: baseTopStatus;
}
: baseTopStatus;
const gitCwd = thread.worktreePath ?? props.projectCwd;
const gitStatus = useEnvironmentQuery(