Skip to content

Commit 3e04a17

Browse files
committed
Update SpaceLayout.tsx
1 parent c96fcce commit 3e04a17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gitbook/src/components/SpaceLayout/SpaceLayout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ export function SpaceLayout(props: SpaceLayoutProps) {
162162
)}
163163
>
164164
<HeaderLogo context={context} />
165-
{!withTopHeader && (
165+
{withVariants === 'translations' ? (
166166
<TranslationsDropdown
167167
context={context}
168168
siteSpace={siteSpace}
169169
siteSpaces={siteSpaces}
170170
className="[&_.button-leading-icon]:block! ml-auto py-2 [&_.button-content]:hidden"
171171
/>
172-
)}
172+
) : null}
173173
</div>
174174
)
175175
}

0 commit comments

Comments
 (0)