From 18cbd952b7f40958c0c1da143bddd4531027fb4e Mon Sep 17 00:00:00 2001 From: Christian Andolf Date: Mon, 30 Jun 2025 13:28:05 +0200 Subject: [PATCH] fix: fixed hydration errors by setting ids moved scripts to body since beforeInteractive strategy ones will be placed in the head regardless, avoiding double render --- apps/scandic-web/app/[lang]/(live)/layout.tsx | 19 ++++++++++--------- .../app/[lang]/(no-layout)/layout.tsx | 17 +++++++++-------- .../app/[lang]/(partner)/layout.tsx | 19 ++++++++++--------- .../FormContent/Search/index.tsx | 16 +++++++++++++--- 4 files changed, 42 insertions(+), 29 deletions(-) diff --git a/apps/scandic-web/app/[lang]/(live)/layout.tsx b/apps/scandic-web/app/[lang]/(live)/layout.tsx index 5bdb47b63..841176a7b 100644 --- a/apps/scandic-web/app/[lang]/(live)/layout.tsx +++ b/apps/scandic-web/app/[lang]/(live)/layout.tsx @@ -49,15 +49,6 @@ export default async function RootLayout( -