diff --git a/src/app/layout.tsx b/src/app/layout.tsx index aa8f3e6b0..6d716bb70 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -28,7 +28,9 @@ const robotoFlex = Roboto_Flex({ export default function RootLayout({ children }: RootLayoutProps) { const pathname = usePathname(); - const isEmbed = pathname.startsWith('/tools/embed/host'); + const hideNav = + pathname.startsWith('/tools/embed/host') || + pathname.startsWith('/tools/embed/customize'); const isRoot = pathname === '/'; return ( @@ -53,37 +55,33 @@ export default function RootLayout({ children }: RootLayoutProps) {
- {!isEmbed && ( -