|
@ -40,8 +40,10 @@ class Followers extends ImmutablePureComponent { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
componentWillMount () { |
|
|
componentWillMount () { |
|
|
this.props.dispatch(fetchAccount(this.props.params.accountId)); |
|
|
|
|
|
this.props.dispatch(fetchFollowers(this.props.params.accountId)); |
|
|
|
|
|
|
|
|
if (!this.props.accountIds) { |
|
|
|
|
|
this.props.dispatch(fetchAccount(this.props.params.accountId)); |
|
|
|
|
|
this.props.dispatch(fetchFollowers(this.props.params.accountId)); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
componentWillReceiveProps (nextProps) { |
|
|
componentWillReceiveProps (nextProps) { |
|
|