mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 02:12:36 +02:00
chore(v2): fix code style
This commit is contained in:
parent
b07507c9cc
commit
6965a668cd
143 changed files with 458 additions and 457 deletions
|
@ -26,7 +26,7 @@ class Site extends React.Component {
|
|||
const hasLanguageDropdown =
|
||||
env.translation.enabled && env.translation.enabledLanguages().length > 1;
|
||||
const hasOrdinaryHeaderLinks = headerLinks.some(
|
||||
(link) => !(link.languages || link.search),
|
||||
link => !(link.languages || link.search),
|
||||
);
|
||||
return !(hasLanguageDropdown || hasOrdinaryHeaderLinks);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue