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() !== "" && (
- ) : (
-
)
}
/>