mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(client): updated GQL syntax (#66136)
This commit is contained in:
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 {
|
||||
|
||||
Reference in New Issue
Block a user