diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-18 18:44:52 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-09-18 18:44:52 +0200 |
commit | f820edb463109e313e836d8e2f210927a0eba7d1 (patch) | |
tree | 68a0ec124b09224adb41cfa53420c1e1f1b357d3 /app/assets/javascripts | |
parent | ee770c3fd3bc0eb908791eecfaff0fa01f4fc1ce (diff) |
Fix type mistake in account component
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/components/features/account/index.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/features/account/index.jsx b/app/assets/javascripts/components/features/account/index.jsx index 14f22960b..edbc34826 100644 --- a/app/assets/javascripts/components/features/account/index.jsx +++ b/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))); } }, |