From: Ondřej Hruška Date: Mon, 16 Oct 2017 19:13:34 +0000 (+0200) Subject: fix some lint errors X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=4b397adb5bfb07be587c788e6e10962aa383d25f;p=mastodon.git fix some lint errors --- diff --git a/app/javascript/mastodon/components/icon_button.js b/app/javascript/mastodon/components/icon_button.js index 651b89566..76b0da12f 100644 --- a/app/javascript/mastodon/components/icon_button.js +++ b/app/javascript/mastodon/components/icon_button.js @@ -90,11 +90,11 @@ export default class IconButton extends React.PureComponent { damping: 7, }; const motionStyle = { - rotate: this.props.animate ? spring(rotateDeg, springOpts) : 0, + rotate: animate ? spring(rotateDeg, springOpts) : 0, }; return ( - + {({ rotate }) =>