From eaca3610b4617112e092d0889a1ea42d68ef54a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Fri, 12 Jul 2024 14:14:16 +0100 Subject: [PATCH] fix: Correct destructuring in queries for teamSettings --- editor.planx.uk/src/routes/views/draft.tsx | 2 +- editor.planx.uk/src/routes/views/published.tsx | 2 +- editor.planx.uk/src/routes/views/standalone.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/editor.planx.uk/src/routes/views/draft.tsx b/editor.planx.uk/src/routes/views/draft.tsx index 881988884f..1ce79410a4 100644 --- a/editor.planx.uk/src/routes/views/draft.tsx +++ b/editor.planx.uk/src/routes/views/draft.tsx @@ -69,7 +69,7 @@ const fetchSettingsForDraftView = async ( favicon } name - teamSettings: team_settings { + settings: team_settings { boundaryUrl: boundary_url boundaryBBox: boundary_bbox homepage diff --git a/editor.planx.uk/src/routes/views/published.tsx b/editor.planx.uk/src/routes/views/published.tsx index a97a426a52..914bd79369 100644 --- a/editor.planx.uk/src/routes/views/published.tsx +++ b/editor.planx.uk/src/routes/views/published.tsx @@ -95,7 +95,7 @@ export const fetchSettingsForPublishedView = async ( favicon } name - teamSettings: team_settings { + settings: team_settings { boundaryUrl: boundary_url boundaryBBox: boundary_bbox homepage diff --git a/editor.planx.uk/src/routes/views/standalone.tsx b/editor.planx.uk/src/routes/views/standalone.tsx index 8de2a37b67..465f25a9d3 100644 --- a/editor.planx.uk/src/routes/views/standalone.tsx +++ b/editor.planx.uk/src/routes/views/standalone.tsx @@ -69,7 +69,7 @@ const fetchDataForStandaloneView = async ( favicon } name - teamSettings: team_settings { + settings: team_settings { boundaryUrl: boundary_url boundaryBBox: boundary_bbox homepage