diff options
Diffstat (limited to 'app/javascript/mastodon/components/status_content.js')
-rw-r--r-- | app/javascript/mastodon/components/status_content.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js index 4d002607d..1a474802a 100644 --- a/app/javascript/mastodon/components/status_content.js +++ b/app/javascript/mastodon/components/status_content.js @@ -10,16 +10,16 @@ import Permalink from './permalink'; class StatusContent extends React.PureComponent { static contextTypes = { - router: PropTypes.object + router: PropTypes.object, }; static propTypes = { status: ImmutablePropTypes.map.isRequired, - onClick: PropTypes.func + onClick: PropTypes.func, }; state = { - hidden: true + hidden: true, }; componentDidMount () { @@ -107,7 +107,7 @@ class StatusContent extends React.PureComponent { <Permalink to={`/accounts/${item.get('id')}`} href={item.get('url')} key={item.get('id')} className='mention'> @<span>{item.get('username')}</span> </Permalink> - )).reduce((aggregate, item) => [...aggregate, item, ' '], []) + )).reduce((aggregate, item) => [...aggregate, item, ' '], []); const toggleText = hidden ? <FormattedMessage id='status.show_more' defaultMessage='Show more' /> : <FormattedMessage id='status.show_less' defaultMessage='Show less' />; |