From 17f966ddc0bd775b29dc5107e826aa27d7df8df6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 9 Jul 2024 15:51:46 +0100 Subject: [PATCH] fix: Use `teamSettings` instead of `settings` in query (#3396) --- 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 5654bbec46..e21bb6d3ac 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 - settings: team_settings { + teamSettings: 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 03402fafb2..da8eb891bd 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 - settings: team_settings { + teamSettings: 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 5687060f74..027bfd7ccf 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 - settings: team_settings { + teamSettings: team_settings { boundaryUrl: boundary_url boundaryBBox: boundary_bbox homepage