mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +02:00
Add missing i18n support in header link (#477)
* Add missing i18n support in header link * Format file with prettier
This commit is contained in:
parent
4ff2fe280e
commit
f8486e02ae
1 changed files with 5 additions and 1 deletions
|
@ -193,7 +193,11 @@ class HeaderNav extends React.Component {
|
|||
<div className="fixedHeaderContainer">
|
||||
<div className="headerWrapper wrapper">
|
||||
<header>
|
||||
<a href={this.props.baseUrl}>
|
||||
<a
|
||||
href={
|
||||
this.props.baseUrl +
|
||||
(env.translation.enabled ? this.props.language : '')
|
||||
}>
|
||||
{siteConfig.headerIcon && (
|
||||
<img
|
||||
className="logo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue