chore(client): updated GQL syntax (#66136)

This commit is contained in:
Mrugesh Mohapatra 2026-03-03 02:41:02 +05:30 committed by GitHub
parent 4f940ab16e
commit c24a5bdf86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,13 +41,11 @@ export function useFetchAllCurriculumData(): void {
}: AllCurriculumData = useStaticQuery(graphql`
query GetAllCurriculumData {
allChallengeNode(
sort: {
fields: [
challenge___superOrder
challenge___order
challenge___challengeOrder
]
}
sort: [
{ challenge: { superOrder: ASC } }
{ challenge: { order: ASC } }
{ challenge: { challengeOrder: ASC } }
]
) {
nodes {
challenge {