Skip to content

Commit

Permalink
Fix Sanity query (#83)
Browse files Browse the repository at this point in the history
The changes in #41 introduced a malformed Sanity query. This change
fixes the query to match the one in other Teleport website repositories.
  • Loading branch information
ptgott authored Dec 19, 2024
1 parent b7c3d2c commit 1135b68
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions server/sanity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ const navQuery = `
imageDate
}
}
}
},
inTwoColumns
}
}
inTwoColumns
},
rightSide {
search {
Expand All @@ -117,10 +117,7 @@ const navQuery = `
mobileBtn
}
},
"bannerButtons": *[_type == "topBanner"][0] {
"first": sideButtons.first,
"second": sideButtons.second
}
"bannerButtons": *[_type == "topBanner"][0] {"first": sideButtons.first, "second": sideButtons.second}
}`;

export const getNavData = async () => {
Expand Down

0 comments on commit 1135b68

Please sign in to comment.