From 88b5a4169dcccb0d2409d16d417964a5ac2baf8b Mon Sep 17 00:00:00 2001 From: gaba Date: Fri, 19 May 2017 10:48:47 -0700 Subject: [PATCH] Remove promise --- client/coral-embed-stream/src/index.js | 2 +- client/coral-framework/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-embed-stream/src/index.js b/client/coral-embed-stream/src/index.js index 4f8de4450..7af73edb3 100644 --- a/client/coral-embed-stream/src/index.js +++ b/client/coral-embed-stream/src/index.js @@ -14,7 +14,7 @@ import {pym} from 'coral-framework'; import {loadTranslations} from 'coral-i18n/services/i18n'; -Promise.all([loadTranslations()]); +loadTranslations(); injectReducers(reducers); diff --git a/client/coral-framework/index.js b/client/coral-framework/index.js index 4d70b3af7..8f5407c19 100644 --- a/client/coral-framework/index.js +++ b/client/coral-framework/index.js @@ -4,7 +4,7 @@ import {loadTranslations} from '../coral-i18n/services/i18n'; // TODO (bc): Deprecate old actions. Spreading actions is now needed. -Promise.all([loadTranslations()]); +loadTranslations(); export default { pym,