{map(this.navLinks, link => {
const isActive = this.props.history.location.hash.split('::')[1] === link.name;
return (
{
if (link.name === 'description') {
this.props.history.push({ pathname: this.props.history.location.pathname, hash: `${this.props.plugin.id}::${link.name}` });
}
}}
style={isActive ? { paddingTop: '4px'} : { paddingTop: '6px' }}
>
);
})}