From 52a61fd1e37726d7b03206198383b9ade17937b2 Mon Sep 17 00:00:00 2001 From: Zeno Kapitein Date: Tue, 22 Oct 2024 17:12:35 +0200 Subject: [PATCH] Fix variant dropdown for sites without variants --- packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx b/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx index f66390c10..7c19305c8 100644 --- a/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx +++ b/packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx @@ -107,7 +107,7 @@ export function SpaceLayout(props: { ) } innerHeader={ - sections || (!withTopHeader && withVariants) ? ( + (sections || !withTopHeader) && withVariants ? ( ) : null }