mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:51:43 +00:00
svelte: Fix GraphQL error on contributors page (#62896)
This commit is contained in:
parent
739b832b3d
commit
d01b4cb140
@ -8,7 +8,7 @@ import { ContributorsPage_ContributorsQuery } from './page.gql'
|
||||
const pageSize = 20
|
||||
|
||||
export const load: PageLoad = ({ url, params }) => {
|
||||
const afterDate = url.searchParams.get('after') ?? ''
|
||||
const afterDate = url.searchParams.get('after') ?? null
|
||||
const { first, last, before, after } = getPaginationParams(url.searchParams, pageSize)
|
||||
const client = getGraphQLClient()
|
||||
const { repoName } = parseRepoRevision(params.repo)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user