- {hasLinkedIssues && (
-
- )}
-
- {hasReactions && (
-
- )}
+
+
- {notification.subject.reviews?.map((review) => {
- const icon = getPullRequestReviewIcon(review);
- if (!icon) {
- return null;
- }
+
- return (
-
- );
- })}
+
- {hasComments && (
-
- )}
+
- {hasLabels && (
-
- )}
+
- {milestone && (
-
- )}
-
- )
+
+
);
};
diff --git a/src/renderer/components/metrics/MetricPill.test.tsx b/src/renderer/components/metrics/MetricPill.test.tsx
index 428bef0de..e4abfcf7b 100644
--- a/src/renderer/components/metrics/MetricPill.test.tsx
+++ b/src/renderer/components/metrics/MetricPill.test.tsx
@@ -14,7 +14,9 @@ describe('renderer/components/metrics/MetricPill.tsx', () => {
icon: MarkGithubIcon,
color: IconColor.GREEN,
};
+
const tree = renderWithAppContext(