Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Apr 25, 2024
1 parent c448073 commit 817ca98
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { IconExternalLink } from '@/components/ui/icons'
import { Input } from '@/components/ui/input'

export const createGithubProviderSchema = z.object({
provider: z.string(),
displayName: z
.string()
.trim()
Expand All @@ -31,7 +30,6 @@ export const createGithubProviderSchema = z.object({
})

export const updateGithubProviderSchema = createGithubProviderSchema.extend({
provider: createGithubProviderSchema.shape.provider.optional()
})

export type CreateGithubProviderFormValues = z.infer<
Expand Down Expand Up @@ -105,7 +103,7 @@ export const GithubProviderForm = React.forwardRef<
name="accessToken"
render={({ field }) => (
<FormItem>
<FormLabel required={isNew}>Personal Access Token</FormLabel>
<FormLabel required>Personal Access Token</FormLabel>
<FormDescription>
<div>
Create a dedicated service user and generate a{' '}
Expand Down

0 comments on commit 817ca98

Please sign in to comment.