forked from treehouse/mastodon
Fixed onClick column links
parent
8150689b48
commit
8b58153583
|
@ -19,7 +19,7 @@ const ColumnLink = ({ icon, text, to, onClick, href, method }) => {
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
<a onClick={onClick} role='button' tabIndex='0' data-method={method}>
|
<a onClick={onClick} className='column-link' role='button' tabIndex='0' data-method={method}>
|
||||||
<i className={`fa fa-fw fa-${icon} column-link__icon`} />
|
<i className={`fa fa-fw fa-${icon} column-link__icon`} />
|
||||||
{text}
|
{text}
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in New Issue