1
0
Fork 0
forked from fedi/mastodon

Remove unnecessary variable in ColumnLink component (#2341)

Fix bug in cca41ea544 .
This commit is contained in:
Yamagishi Kazutoshi 2017-04-23 12:21:38 +09:00 committed by Eugen
parent 66fd8e7821
commit 219fb317ee

View file

@ -4,7 +4,7 @@ import { Link } from 'react-router';
const ColumnLink = ({ icon, text, to, href, method, hideOnMobile }) => {
if (href) {
return (
<a href={href} style={outerStyle} className={`column-link ${hideOnMobile ? 'hidden-on-mobile' : ''}`} data-method={method}>
<a href={href} className={`column-link ${hideOnMobile ? 'hidden-on-mobile' : ''}`} data-method={method}>
<i className={`fa fa-fw fa-${icon} column-link__icon`} />
{text}
</a>