Browse Source

Fix type mistake in account component

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
f820edb463
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/assets/javascripts/components/features/account/index.jsx

+ 2
- 2
app/assets/javascripts/components/features/account/index.jsx View File

@ -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