1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

Fix user fetch dispatch collision since the PieceContainer also fetches the user

This commit is contained in:
Brett Sun 2015-12-10 12:42:23 +01:00
parent 9b99e3ae09
commit 7cc51f81d0

View File

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