Skip to content

Commit 429d1b3

Browse files
committed
fix(code-review): highlight active comment filter
Generated-By: PostHog Code Task-Id: 199c1147-fca6-415b-9ea1-00a45d9b7267
1 parent 729377c commit 429d1b3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/ui/src/features/code-review/components/ReviewToolbar.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,12 @@ export const ReviewToolbar = memo(function ReviewToolbar({
125125
>
126126
<Button
127127
size="icon-sm"
128+
variant={showCommentedFilesOnly ? "primary" : "default"}
128129
onClick={onToggleCommentedFilesOnly}
129130
disabled={commentedFileCount === 0 && !showCommentedFilesOnly}
130131
aria-label="Filter files with comments"
131132
aria-pressed={showCommentedFilesOnly}
132-
className={`rounded-xs ${showCommentedFilesOnly ? "bg-(--gray-4)" : ""}`}
133+
className="rounded-xs"
133134
>
134135
<ChatCircle
135136
size={14}

0 commit comments

Comments
 (0)