diff --git a/src/components/__snapshots__/NotificationRow.test.tsx.snap b/src/components/__snapshots__/NotificationRow.test.tsx.snap index de10784af..2ae1c9844 100644 --- a/src/components/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/components/__snapshots__/NotificationRow.test.tsx.snap @@ -72,109 +72,97 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - + + + 1 +
@@ -316,109 +304,97 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - + + + 1 +
@@ -617,115 +593,103 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - -
- - -
+ + + + 2 + +
+ + +
- - + + + 2 + + - - + + 1 + + - - + + 1 + + - + + + 2 +
@@ -1162,84 +1114,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - - - + + + 2 + + - - + + 1 + + - + + + 1 +
@@ -1381,84 +1324,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics comment pil 7 years ago
- - - - + + + 2 + + - - + + 1 + + - + + + 1 +
@@ -1657,136 +1591,121 @@ exports[`components/NotificationRow.tsx notification pills / metrics label pills 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - + class="text-gray-500 dark:text-gray-300" + fill="currentColor" + focusable="false" + height="12" + role="img" + style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;" + viewBox="0 0 16 16" + width="12" + > + + + 2 +
@@ -1928,136 +1847,121 @@ exports[`components/NotificationRow.tsx notification pills / metrics label pills 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - + class="text-gray-500 dark:text-gray-300" + fill="currentColor" + focusable="false" + height="12" + role="img" + style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;" + viewBox="0 0 16 16" + width="12" + > + + + 2 +
@@ -2256,84 +2160,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - - - + + + 2 + + - - + + 1 + + - + + + 1 +
@@ -2475,84 +2370,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - - - + + + 2 + + - - + + 1 + + - + + + 1 +
@@ -2751,84 +2637,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - - - + + + 1 + + - - + + 1 + + - + + + 1 +
@@ -2970,84 +2847,75 @@ exports[`components/NotificationRow.tsx notification pills / metrics linked issu 7 years ago
- - - - - - - + + + 1 + + + - + + + 1 +
@@ -3246,160 +3114,142 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - - + + + 2 + + - + + +
@@ -3541,160 +3391,142 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - - + + + 2 + + - + + +
@@ -3893,160 +3725,142 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - - + + + 2 + + - + + +
@@ -4188,160 +4002,142 @@ exports[`components/NotificationRow.tsx notification pills / metrics milestone p 7 years ago
- - - - + + + 2 + + - - + + 1 + + - - + + 1 + + - - + + 2 + + - - + + + 2 + + - + + +
@@ -4871,56 +4667,50 @@ exports[`components/NotificationRow.tsx should render itself & its children 1`] 7 years ago
- - - - + + 1 + + - + + + 1 +
@@ -5058,56 +4848,50 @@ exports[`components/NotificationRow.tsx should render itself & its children 1`] 7 years ago
- - - - + + 1 + + - + + + 1 +
@@ -5302,56 +5086,50 @@ exports[`components/NotificationRow.tsx should render itself & its children when 7 years ago
- - - - + + 1 + + - + + + 1 +
@@ -5489,56 +5267,50 @@ exports[`components/NotificationRow.tsx should render itself & its children when 7 years ago
- - - - + + 1 + + - + + + 1 +
@@ -5737,56 +5509,50 @@ exports[`components/NotificationRow.tsx should render itself & its children with 7 years ago
- - - - + + 1 + + - + + + 1 +
@@ -5928,56 +5694,50 @@ exports[`components/NotificationRow.tsx should render itself & its children with 7 years ago
- - - - + + 1 + + - + + + 1 +
diff --git a/src/components/buttons/PillButton.tsx b/src/components/buttons/PillButton.tsx index fcdc4495d..a64e0c39d 100644 --- a/src/components/buttons/PillButton.tsx +++ b/src/components/buttons/PillButton.tsx @@ -1,7 +1,6 @@ import type { Icon } from '@primer/octicons-react'; import type { FC } from 'react'; import type { IconColor } from '../../types'; -import { cn } from '../../utils/cn'; export interface IPillButton { key?: string; @@ -13,18 +12,13 @@ export interface IPillButton { export const PillButton: FC = (props: IPillButton) => { return ( - - - + ); }; diff --git a/src/components/buttons/__snapshots__/PillButton.test.tsx.snap b/src/components/buttons/__snapshots__/PillButton.test.tsx.snap index 78c044350..593415d29 100644 --- a/src/components/buttons/__snapshots__/PillButton.test.tsx.snap +++ b/src/components/buttons/__snapshots__/PillButton.test.tsx.snap @@ -5,44 +5,14 @@ exports[`components/buttons/PillButton.tsx should render 1`] = ` "asFragment": [Function], "baseElement":
- - - -
- , - "container":
- - +
+ , + "container":
+
, "debug": [Function], "findAllByAltText": [Function],