1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +01: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() { componentDidMount() {
UserStore.listen(this.onChange); UserStore.listen(this.onChange);
UserActions.fetchCurrentUser(); UserActions.fetchCurrentUser.defer();
}, },
componentWillUnmount() { componentWillUnmount() {