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
@@ -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 {