diff options
author | David Yip <yipdw@member.fsf.org> | 2018-01-18 09:13:07 -0600 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2018-01-18 09:13:07 -0600 |
commit | 708ec07e27dd02d03f2d155bcc61ae8de4c10c4a (patch) | |
tree | ce95aed1d6892e4387cbdd613ea67f61446a0a18 /app/javascript/flavours/glitch/components/icon_button.js | |
parent | aa2bf07281ba1e41c9e32a760684c15081524a7c (diff) |
Style fixes to make eslint happier, hopefully
Diffstat (limited to 'app/javascript/flavours/glitch/components/icon_button.js')
-rw-r--r-- | app/javascript/flavours/glitch/components/icon_button.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/components/icon_button.js b/app/javascript/flavours/glitch/components/icon_button.js index 13b91e8a1..dfbe75110 100644 --- a/app/javascript/flavours/glitch/components/icon_button.js +++ b/app/javascript/flavours/glitch/components/icon_button.js @@ -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> ); |