diff --git a/apps/web/src/components/review/CommitNav.tsx b/apps/web/src/components/review/CommitNav.tsx index 4d2712a..9085c80 100644 --- a/apps/web/src/components/review/CommitNav.tsx +++ b/apps/web/src/components/review/CommitNav.tsx @@ -16,21 +16,21 @@ export function CommitNav({ }: CommitNavProps) { if (isLoading || commits.length === 0) return null; - // Don't show navigator for single-commit phases - if (commits.length === 1) return null; - return (
- {/* "All changes" pill */} - onSelectCommit(null)} - /> - -
+ {/* "All changes" pill — only when multiple commits */} + {commits.length > 1 && ( + <> + onSelectCommit(null)} + /> +
+ + )} {/* Individual commit pills - most recent first */} {commits.map((commit) => (