From 31dc72b1c84362bc79037f99ce744557aa590ab3 Mon Sep 17 00:00:00 2001 From: MOH Date: Sun, 20 Sep 2026 20:02:44 +0200 Subject: [PATCH] fix --- app/[locale]/(site)/layout.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/app/[locale]/(site)/layout.tsx b/app/[locale]/(site)/layout.tsx index 868f2e0..3a017c4 100644 --- a/app/[locale]/(site)/layout.tsx +++ b/app/[locale]/(site)/layout.tsx @@ -3,7 +3,6 @@ import { unstable_noStore as noStore } from "next/cache"; import { getLocale } from "next-intl/server"; import { redirect } from "next/navigation"; -import { FloatingAdminButton } from "@/components/layout/floating-admin-button"; import { SiteAmbientBackdrop } from "@/components/layout/site-ambient-backdrop"; import { PageTransition } from "@/components/layout/page-transition"; import { SiteDock } from "@/components/layout/site-dock"; @@ -31,7 +30,7 @@ export default async function SiteLayout({ children, params }: SiteLayoutProps) getSiteSettings(), ]); const localeKey = resolveLocale(await getLocale().catch(() => siteSettings.defaultLocale), siteSettings.defaultLocale); - // Server-side decision only. The header receives just this boolean and uses + // Server-side decision only. The dock receives just this boolean and uses // it purely to show/hide the Admin shortcut link — it grants no access by // itself. Every admin page/action re-checks the session independently, so // this value is not a security boundary, only a UI convenience. @@ -45,17 +44,7 @@ export default async function SiteLayout({ children, params }: SiteLayoutProps) <> -<<<<<<< HEAD -======= - - ->>>>>>> 9fabf17 (update)