Skip to content

Instantly share code, notes, and snippets.

@carlosble
Created April 3, 2017 07:06
Show Gist options
  • Save carlosble/1cdb307a7ba53e4689329ed3241edc10 to your computer and use it in GitHub Desktop.
Save carlosble/1cdb307a7ba53e4689329ed3241edc10 to your computer and use it in GitHub Desktop.
Make the test pass
componentDidMount() {
let notifier = this.props.notifier;
notifier.startLoad();
this.props.actions.loadProfile().then(() => {
notifier.stopLoad();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment