Skip to content

Commit

Permalink
fix(api getTopLevelPageNames): Adds sort to getTopLevelPageNames for …
Browse files Browse the repository at this point in the history
…correct navigation order
  • Loading branch information
Designaroni committed Jan 10, 2023
1 parent 4cd632b commit e146441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export async function getTopLevelPageNames() {
const data = await fetchAPI<FetchJSON["data"]>(
`
query TopLevelPages {
topLevelPages {
topLevelPages(sort: "id:asc") {
data {
attributes {
name
Expand Down

0 comments on commit e146441

Please sign in to comment.