From 96cc53881a862e46a817f38cc8b1ca2b947a748d Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 25 Apr 2024 22:26:42 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../repository/github/components/github-form.tsx | 3 +-- .../repository/github/detail/components/detail.tsx | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/components/github-form.tsx b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/components/github-form.tsx index 9297f715d6d3..a2015493a17b 100644 --- a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/components/github-form.tsx +++ b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/components/github-form.tsx @@ -29,8 +29,7 @@ export const createGithubProviderSchema = z.object({ accessToken: z.string() }) -export const updateGithubProviderSchema = createGithubProviderSchema.extend({ -}) +export const updateGithubProviderSchema = createGithubProviderSchema.extend({}) export type CreateGithubProviderFormValues = z.infer< typeof createGithubProviderSchema diff --git a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/detail.tsx b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/detail.tsx index 716342fe884a..5427f9251f5f 100644 --- a/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/detail.tsx +++ b/ee/tabby-ui/app/(dashboard)/settings/(integrations)/repository/github/detail/components/detail.tsx @@ -51,7 +51,8 @@ const DetailPage: React.FC = () => { pause: !id }) const provider = data?.githubRepositoryProviders?.edges?.[0]?.node - const [githubRepositories, isGithubRepositoriesLoading] = useAllProvidedRepositories(id) + const [githubRepositories, isGithubRepositoriesLoading] = + useAllProvidedRepositories(id) const onDeleteProvider = () => { router.back()