Fix type mistake in account component

master
Eugen Rochko 8 years ago
parent ee770c3fd3
commit f820edb463
  1. 4
      app/assets/javascripts/components/features/account/index.jsx

@ -40,8 +40,8 @@ const Account = React.createClass({
componentWillReceiveProps(nextProps) {
if (nextProps.params.accountId !== this.props.params.accountId && nextProps.params.accountId) {
this.props.dispatch(fetchAccount(nextProps.params.accountId));
this.props.dispatch(fetchAccountTimeline(nextProps.params.accountId));
this.props.dispatch(fetchAccount(Number(nextProps.params.accountId)));
this.props.dispatch(fetchAccountTimeline(Number(nextProps.params.accountId)));
}
},

Loading…
Cancel
Save