logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f820edb463109e313e836d8e2f210927a0eba7d1
parent: ee770c3fd3bc0eb908791eecfaff0fa01f4fc1ce
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Sun, 18 Sep 2016 18:44:52 +0200

Fix type mistake in account component

Diffstat:

Mapp/assets/javascripts/components/features/account/index.jsx4++--
1 file 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 @@ -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))); } },