@ -13,7 +13,6 @@ const _higherOrderMapStateToProps = (mapStateToProps) => {
const stateProps = mapStateToProps
? mapStateToProps(state, ownProps)
: ownProps
console.log(`state.localeMessages`, state.localeMessages);
stateProps.t = t.bind(null, state.localeMessages)
return stateProps
}
@ -2,7 +2,6 @@
const log = require('loglevel')
const getMessage = (locale, key, substitutions) => {
console.log(`locale, key, substitutions`, locale, key, substitutions);
// check locale is loaded
if (!locale) {
// throw new Error('Translator - has not loaded a locale yet.')