From 1135b6800057382d67f6cdd8384fa0019f9cc862 Mon Sep 17 00:00:00 2001 From: Paul Gottschling Date: Thu, 19 Dec 2024 09:30:12 -0500 Subject: [PATCH] Fix Sanity query (#83) The changes in #41 introduced a malformed Sanity query. This change fixes the query to match the one in other Teleport website repositories. --- server/sanity.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/sanity.ts b/server/sanity.ts index 71d1816..833d5d1 100644 --- a/server/sanity.ts +++ b/server/sanity.ts @@ -103,10 +103,10 @@ const navQuery = ` imageDate } } - } + }, + inTwoColumns } } - inTwoColumns }, rightSide { search { @@ -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 () => {