We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96fcce commit 3e04a17Copy full SHA for 3e04a17
packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx
@@ -162,14 +162,14 @@ export function SpaceLayout(props: SpaceLayoutProps) {
162
)}
163
>
164
<HeaderLogo context={context} />
165
- {!withTopHeader && (
+ {withVariants === 'translations' ? (
166
<TranslationsDropdown
167
context={context}
168
siteSpace={siteSpace}
169
siteSpaces={siteSpaces}
170
className="[&_.button-leading-icon]:block! ml-auto py-2 [&_.button-content]:hidden"
171
/>
172
- )}
+ ) : null}
173
</div>
174
)
175
}
0 commit comments