diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-01-18 00:57:15 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-01-17 16:57:15 +0100 |
commit | 0a103c774977cda29e5c02e697b4632f98bcc621 (patch) | |
tree | d3898a4a9e2affcb037c92e380933f7f8f626092 /app/javascript/mastodon/features/compose/index.js | |
parent | fb16c37d2a780c385e0ce00d136f749036778314 (diff) |
Upgrade ESLint to version 4.x (#6276)
Diffstat (limited to 'app/javascript/mastodon/features/compose/index.js')
-rw-r--r-- | app/javascript/mastodon/features/compose/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/mastodon/features/compose/index.js b/app/javascript/mastodon/features/compose/index.js index 3f75a218d..84e3a2338 100644 --- a/app/javascript/mastodon/features/compose/index.js +++ b/app/javascript/mastodon/features/compose/index.js @@ -98,11 +98,11 @@ export default class Compose extends React.PureComponent { </div> <Motion defaultStyle={{ x: -100 }} style={{ x: spring(showSearch ? 0 : -100, { stiffness: 210, damping: 20 }) }}> - {({ x }) => + {({ x }) => ( <div className='drawer__inner darker' style={{ transform: `translateX(${x}%)`, visibility: x === -100 ? 'hidden' : 'visible' }}> <SearchResultsContainer /> </div> - } + )} </Motion> </div> </div> |