From 2b98af0cc052d9e4f11e700dd88e364d2d0d1d77 Mon Sep 17 00:00:00 2001 From: spastorelli Date: Thu, 23 Apr 2026 16:31:40 +0100 Subject: [PATCH] Fix not found pages showing duplicate trademark badges (#4209) --- packages/gitbook/src/components/SitePage/SitePageNotFound.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/gitbook/src/components/SitePage/SitePageNotFound.tsx b/packages/gitbook/src/components/SitePage/SitePageNotFound.tsx index 657894f46..7a298f369 100644 --- a/packages/gitbook/src/components/SitePage/SitePageNotFound.tsx +++ b/packages/gitbook/src/components/SitePage/SitePageNotFound.tsx @@ -6,6 +6,7 @@ import { tcls } from '@/lib/tailwind'; import { SiteInsightsDisplayContext } from '@gitbook/api'; import { useRouter, useSearchParams } from 'next/navigation'; import { useEffect } from 'react'; +import { PreservePageLayout } from '../PageBody/PreservePageLayout'; import { SiteAuthLoginButton } from '../SiteAuth/SiteAuthLoginLink'; import { useSiteAdaptiveAuthLoginHref, useSpaceBasePath } from '../SpaceLayout/SpaceLayoutContext'; import { CurrentPageProvider } from '../hooks'; @@ -40,6 +41,8 @@ export function SitePageNotFound() {
+

{t(