Skip to content

Commit

Permalink
fix(fe): fix submission take number (#2173)
Browse files Browse the repository at this point in the history
* fix(fe): edit submission take

* fix(fe): fix participant submission take number
  • Loading branch information
youznn authored Oct 23, 2024
1 parent 78274c1 commit e109b99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Submission() {
input: {
contestId: Number(id)
},
take: 1000
take: 5000
}
})
const submissions = data?.getContestSubmissions || []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function Page({
const userData = user.data?.getGroupMember

const submissions = useQuery(GET_CONTEST_SUBMISSION_SUMMARIES_OF_USER, {
variables: { contestId: Number(id), userId: Number(userId), take: 1000 }
variables: { contestId: Number(id), userId: Number(userId), take: 5000 }
})
const submissionsLoading = submissions.loading
const scoreData =
Expand Down

0 comments on commit e109b99

Please sign in to comment.