From 83f4d237c9bdf72ca5572808c41b9b21b9eb027a Mon Sep 17 00:00:00 2001 From: MrCloudSec Date: Thu, 17 Jul 2025 16:44:53 +0800 Subject: [PATCH] fix: tests --- .../forms/via-credentials/github-credentials-form.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ui/components/providers/workflow/forms/via-credentials/github-credentials-form.tsx b/ui/components/providers/workflow/forms/via-credentials/github-credentials-form.tsx index 2e3771cb97..2d48753761 100644 --- a/ui/components/providers/workflow/forms/via-credentials/github-credentials-form.tsx +++ b/ui/components/providers/workflow/forms/via-credentials/github-credentials-form.tsx @@ -59,9 +59,7 @@ export const GitHubCredentialsForm = ({ variant="bordered" isRequired isInvalid={ - !!control._formState.errors[ - ProviderCredentialFields.OAUTH_APP_TOKEN - ] + !!control._formState.errors[ProviderCredentialFields.OAUTH_APP_TOKEN] } /> @@ -74,8 +72,7 @@ export const GitHubCredentialsForm = ({ GitHub App

- Use GitHub App credentials (both App ID and Private Key are - required) + Use GitHub App credentials (both App ID and Private Key are required)

- Enter your GitHub credentials for the selected authentication method. + Enter your GitHub credentials for the selected authentication method