Skip to content

Commit

Permalink
Merge dab3e84 into 5e4f27b
Browse files Browse the repository at this point in the history
  • Loading branch information
jussikinnula committed Jun 12, 2017
2 parents 5e4f27b + dab3e84 commit d339a67
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ export default function translate(namespaces, options = {}) {
};

this.i18n.on('initialized', initialized);

// In case of race condition, that 'initialized' never comes - do immediately
// check ready state + if i18n is initialized.
setTimeout(() => !this.state.ready && this.i18n.isInitialized && ready());
}
});

Expand Down

0 comments on commit d339a67

Please sign in to comment.