From b689ebd8caea44556d35ece3772f7f5cbee2a668 Mon Sep 17 00:00:00 2001 From: "codegen-sh[bot]" <131295404+codegen-sh[bot]@users.noreply.github.com> Date: Mon, 18 Aug 2025 23:49:32 +0000 Subject: [PATCH] fix: Update GitLabIssueStatusIcon to match style of other icon components --- .../IssueStatusIcon/GitLabIssueStatusIcon.tsx | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) 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 && (