Style fixes to make eslint happier, hopefully

This commit is contained in:
David Yip
2018-01-18 09:13:07 -06:00
parent aa2bf07281
commit 708ec07e27
14 changed files with 31 additions and 31 deletions

View File

@@ -116,7 +116,7 @@ export default class IconButton extends React.PureComponent {
return (
<Motion defaultStyle={motionDefaultStyle} style={motionStyle}>
{({ rotate }) =>
<button
(<button
aria-label={title}
aria-pressed={pressed}
aria-expanded={expanded}
@@ -128,7 +128,7 @@ export default class IconButton extends React.PureComponent {
>
<i style={{ transform: `rotate(${rotate}deg)` }} className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
{this.props.label}
</button>
</button>)
}
</Motion>
);