From 880ec57c78a5f1eedbbe9e6f1709f7a5533b8a1e Mon Sep 17 00:00:00 2001 From: Rohit Malhotra Date: Tue, 13 May 2025 11:43:35 -0400 Subject: [PATCH] [Fix]: Status icon regression (#8427) --- .../features/settings/git-settings/github-token-input.tsx | 5 ++--- .../features/settings/git-settings/gitlab-token-input.tsx | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/features/settings/git-settings/github-token-input.tsx b/frontend/src/components/features/settings/git-settings/github-token-input.tsx index 58a5f3e01f..bec0f4fffe 100644 --- a/frontend/src/components/features/settings/git-settings/github-token-input.tsx +++ b/frontend/src/components/features/settings/git-settings/github-token-input.tsx @@ -51,10 +51,9 @@ export function GitHubTokenInput({ placeholder="github.com" defaultValue={githubHostSet || undefined} startContent={ - githubHostSet && githubHostSet.trim() !== "" ? ( + githubHostSet && + githubHostSet.trim() !== "" && ( - ) : ( - ) } /> diff --git a/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx b/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx index c95db9ff7e..991ada8942 100644 --- a/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx +++ b/frontend/src/components/features/settings/git-settings/gitlab-token-input.tsx @@ -51,10 +51,9 @@ export function GitLabTokenInput({ placeholder="gitlab.com" defaultValue={gitlabHostSet || undefined} startContent={ - gitlabHostSet && gitlabHostSet.trim() !== "" ? ( + gitlabHostSet && + gitlabHostSet.trim() !== "" && ( - ) : ( - ) } />