From c8cad59f7eced68dcbe683c7da5e5425ac2e08fe Mon Sep 17 00:00:00 2001 From: Vamsi Krishna <46787868+vamsikrishnamathala@users.noreply.github.com> Date: Thu, 7 Aug 2025 13:53:05 +0530 Subject: [PATCH] [WEB-4625] fix: fixed loader position for pages #3858 --- apps/space/app/intake/[anchor]/client-layout.tsx | 7 ++++++- apps/space/app/pages/[anchor]/client-layout.tsx | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/space/app/intake/[anchor]/client-layout.tsx b/apps/space/app/intake/[anchor]/client-layout.tsx index ce8521277d..23b409df04 100644 --- a/apps/space/app/intake/[anchor]/client-layout.tsx +++ b/apps/space/app/intake/[anchor]/client-layout.tsx @@ -36,7 +36,12 @@ export const IntakeClientLayout = observer((props: Props) => { if (error) return ; - if (!publishSettings) return ; + if (!publishSettings) + return ( +
+ +
+ ); return (
diff --git a/apps/space/app/pages/[anchor]/client-layout.tsx b/apps/space/app/pages/[anchor]/client-layout.tsx index edbb1afe20..73ddf833c1 100644 --- a/apps/space/app/pages/[anchor]/client-layout.tsx +++ b/apps/space/app/pages/[anchor]/client-layout.tsx @@ -26,7 +26,12 @@ export const PagesClientLayout = observer((props: Props) => { anchor ? () => fetchPublishSettings(anchor) : null ); - if (!entity_identifier && !error) return ; + if (!entity_identifier && !error) + return ( +
+ +
+ ); if (error?.status === 404) return ;