diff --git a/shared/components/IssueStatusIcon/GitLabIssueStatusIcon.tsx b/shared/components/IssueStatusIcon/GitLabIssueStatusIcon.tsx index d555365727..52c9cda4b2 100644 --- a/shared/components/IssueStatusIcon/GitLabIssueStatusIcon.tsx +++ b/shared/components/IssueStatusIcon/GitLabIssueStatusIcon.tsx @@ -1,22 +1,18 @@ -import * as React from "react"; -import { isSafari } from "../../utils/browser"; +import React from "react"; import { BaseIconProps } from "."; -/** Renders an icon for a specific GitLab issue state */ export function GitLabIssueStatusIcon(props: BaseIconProps) { - // No theme needed for this component - const { state } = props; + const { state, className, size = 16 } = props; const isOpen = state.name === "opened"; const color = state.color || (isOpen ? "#1aaa55" : "#db3b21"); // Green for open, red for closed return ( {!isOpen && (