diff --git a/app/javascript/gabsocial/components/autosuggest_account.js b/app/javascript/gabsocial/components/autosuggest_account.js index 496ecbbe..1b98b039 100644 --- a/app/javascript/gabsocial/components/autosuggest_account.js +++ b/app/javascript/gabsocial/components/autosuggest_account.js @@ -1,18 +1,18 @@ -import ImmutablePropTypes from 'react-immutable-proptypes'; -import ImmutablePureComponent from 'react-immutable-pure-component'; -import { makeGetAccount } from '../selectors'; -import Avatar from './avatar'; -import DisplayName from './display_name'; +import ImmutablePropTypes from 'react-immutable-proptypes' +import ImmutablePureComponent from 'react-immutable-pure-component' +import { makeGetAccount } from '../selectors' +import Avatar from './avatar' +import DisplayName from './display_name' const makeMapStateToProps = () => { - const getAccount = makeGetAccount(); + const getAccount = makeGetAccount() const mapStateToProps = (state, { id }) => ({ account: getAccount(state, id), - }); + }) - return mapStateToProps; -}; + return mapStateToProps +} export default @connect(makeMapStateToProps) @@ -23,16 +23,19 @@ class AutosuggestAccount extends ImmutablePureComponent { } render () { - const { account } = this.props; + const { account } = this.props return ( -