fix: missing apollo-fetch module

This commit is contained in:
Nicolas Giard
2019-01-13 21:54:52 -05:00
parent 63c044a09b
commit 86c6aabebd
4 changed files with 2 additions and 56 deletions

View File

@@ -21,15 +21,6 @@ module.exports = {
fallbackLng: 'en'
})
// Load fallback defaults
const enFallback = require('../locales/default.json')
if (_.isPlainObject(enFallback)) {
_.forOwn(enFallback, (data, ns) => {
this.namespaces.push(ns)
this.engine.addResourceBundle('en', ns, data)
})
}
// Load current language + namespaces
this.refreshNamespaces(true)