Skip to content

Commit

Permalink
update the null
Browse files Browse the repository at this point in the history
  • Loading branch information
ajay-sentry committed Dec 17, 2024
1 parent d45b116 commit e132301
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ interface UseTestResultsArgs {
pageInfo: { endCursor: string | null; hasNextPage: boolean }
private: boolean | null
planName: PlanName | null
isFreePlan: boolean | null
isFreePlan: boolean
defaultBranch: string | null
totalCount: number | null
isFirstPullRequest: boolean | null
Expand Down Expand Up @@ -285,7 +285,7 @@ export const useInfiniteTestResults = ({
0,
private: data?.owner?.repository?.private ?? null,
planName: data?.owner?.plan?.value ?? null,
isFreePlan: data?.owner?.plan?.isFreePlan ?? null,
isFreePlan: data?.owner?.plan?.isFreePlan ?? false,
defaultBranch: data?.owner?.repository?.defaultBranch ?? null,
isFirstPullRequest:
data?.owner?.repository?.isFirstPullRequest ?? null,
Expand All @@ -310,7 +310,7 @@ export const useInfiniteTestResults = ({
totalCount: data?.pages?.[0]?.totalCount ?? 0,
private: data?.pages?.[0]?.private ?? null,
planName: data?.pages?.[0]?.planName ?? null,
isFreePlan: data?.pages?.[0]?.isFreePlan ?? null,
isFreePlan: data?.pages?.[0]?.isFreePlan ?? false,
defaultBranch: data?.pages?.[0]?.defaultBranch ?? null,
isFirstPullRequest: data?.pages?.[0]?.isFirstPullRequest ?? null,
},
Expand Down

0 comments on commit e132301

Please sign in to comment.