diff --git a/src/renderer/components/buttons/PillButton.tsx b/src/renderer/components/buttons/PillButton.tsx index d9735c2e7..569ac6c3c 100644 --- a/src/renderer/components/buttons/PillButton.tsx +++ b/src/renderer/components/buttons/PillButton.tsx @@ -1,7 +1,7 @@ import type { FC } from 'react'; import type { Icon } from '@primer/octicons-react'; -import { Octicon, Stack, Text } from '@primer/react'; +import { Stack, Text } from '@primer/react'; import { type IconColor, Size } from '../../types'; @@ -21,7 +21,7 @@ export const PillButton: FC = (props: IPillButton) => { className="flex gap-1 items-center text-xxs px-1 m-0.5 rounded-full bg-gitify-pill-rest hover:bg-gitify-pill-hover" > - + {props.metric && {props.metric}} diff --git a/src/renderer/components/buttons/__snapshots__/PillButton.test.tsx.snap b/src/renderer/components/buttons/__snapshots__/PillButton.test.tsx.snap index c0017bb51..c12eda093 100644 --- a/src/renderer/components/buttons/__snapshots__/PillButton.test.tsx.snap +++ b/src/renderer/components/buttons/__snapshots__/PillButton.test.tsx.snap @@ -21,7 +21,7 @@ exports[`renderer/components/buttons/PillButton.tsx should render with metric 1` >
- +
diff --git a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap index 2b3d69300..d72381d3d 100644 --- a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap @@ -762,7 +762,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende >