Fix topnav active link discrepancy
This commit is contained in:
parent
33cbbaf953
commit
092fb5828b
1 changed files with 3 additions and 3 deletions
|
@ -62,12 +62,12 @@ class TabsBar extends React.PureComponent {
|
||||||
let links = [];
|
let links = [];
|
||||||
if (logo) {
|
if (logo) {
|
||||||
links.push(
|
links.push(
|
||||||
<NavLink key='logo' className='tabs-bar__link--logo' to='/' data-preview-title-id='column.home' style={{ padding: '0', backgroundImage: `url(${logo})` }}>
|
<Link key='logo' className='tabs-bar__link--logo' to='/' data-preview-title-id='column.home' style={{ padding: '0', backgroundImage: `url(${logo})` }}>
|
||||||
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
||||||
</NavLink>)
|
</Link>)
|
||||||
}
|
}
|
||||||
links.push(
|
links.push(
|
||||||
<NavLink key='home' className='tabs-bar__link' to='/' data-preview-title-id='column.home'>
|
<NavLink key='home' className='tabs-bar__link' exact to='/' data-preview-title-id='column.home'>
|
||||||
<i className='tabs-bar__link__icon home'/>
|
<i className='tabs-bar__link__icon home'/>
|
||||||
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
<FormattedMessage id='tabs_bar.home' defaultMessage='Home' />
|
||||||
</NavLink>)
|
</NavLink>)
|
||||||
|
|
Loading…
Reference in a new issue