mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Fix user fetch dispatch collision since the PieceContainer also fetches the user
This commit is contained in:
parent
9b99e3ae09
commit
7cc51f81d0
@ -15,7 +15,7 @@ const PRHero = React.createClass({
|
||||
|
||||
componentDidMount() {
|
||||
UserStore.listen(this.onChange);
|
||||
UserActions.fetchCurrentUser();
|
||||
UserActions.fetchCurrentUser.defer();
|
||||
},
|
||||
|
||||
componentWillUnmount() {
|
||||
@ -39,4 +39,4 @@ const PRHero = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
export default PRHero;
|
||||
export default PRHero;
|
||||
|
Loading…
Reference in New Issue
Block a user