Skip to content

Commit

Permalink
use-bigint-for-project
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Nov 11, 2024
1 parent a15cba4 commit 183848a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CreateProjectForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default function CreateProjectForm({ organizationId, repositories, teams,
control={control}
render={({ field }) => (
<div className="relative">
<Select onValueChange={(value) => field.onChange(parseInt(value))} value={field.value.toString()}>
<Select onValueChange={(value) => field.onChange(BigInt(value))} value={field.value.toString()}>
<SelectTrigger className={`w-full ${errors.repository ? 'border-destructive' : ''}`}>
<SelectValue placeholder="Select a repository" />
</SelectTrigger>
Expand Down

0 comments on commit 183848a

Please sign in to comment.