From 0a3b0632191471e0f1f1898b92fc9439d9972362 Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Wed, 13 Nov 2024 09:59:41 +0100 Subject: [PATCH] Refactor --- app/[lang]/(live)/layout.tsx | 13 ++++++------- app/[lang]/(live-current)/layout.tsx | 15 +++++++-------- app/[lang]/webview/layout.tsx | 3 ++- components/TrackingSDK/RouterTracking.tsx | 1 + components/TrackingSDK/RouterTransition.tsx | 14 ++++++-------- 5 files changed, 22 insertions(+), 24 deletions(-) diff --git a/app/[lang]/(live)/layout.tsx b/app/[lang]/(live)/layout.tsx index 8e29be5b0..1c5c9794f 100644 --- a/app/[lang]/(live)/layout.tsx +++ b/app/[lang]/(live)/layout.tsx @@ -61,13 +61,12 @@ export default async function RootLayout({ - - {!env.HIDE_FOR_NEXT_RELEASE && <>{sitewidealert}} - {header} - {!env.HIDE_FOR_NEXT_RELEASE && <>{bookingwidget}} - {children} - {footer} - + + {!env.HIDE_FOR_NEXT_RELEASE && <>{sitewidealert}} + {header} + {!env.HIDE_FOR_NEXT_RELEASE && <>{bookingwidget}} + {children} + {footer} diff --git a/app/[lang]/(live-current)/layout.tsx b/app/[lang]/(live-current)/layout.tsx index ff8099726..539d345ba 100644 --- a/app/[lang]/(live-current)/layout.tsx +++ b/app/[lang]/(live-current)/layout.tsx @@ -66,14 +66,13 @@ export default async function RootLayout({ - - {header} - - {children} -