mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove console.logs
This commit is contained in:
parent
6cbadc0aa3
commit
3c144302d6
@ -13,7 +13,6 @@ const _higherOrderMapStateToProps = (mapStateToProps) => {
|
|||||||
const stateProps = mapStateToProps
|
const stateProps = mapStateToProps
|
||||||
? mapStateToProps(state, ownProps)
|
? mapStateToProps(state, ownProps)
|
||||||
: ownProps
|
: ownProps
|
||||||
console.log(`state.localeMessages`, state.localeMessages);
|
|
||||||
stateProps.t = t.bind(null, state.localeMessages)
|
stateProps.t = t.bind(null, state.localeMessages)
|
||||||
return stateProps
|
return stateProps
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
const log = require('loglevel')
|
const log = require('loglevel')
|
||||||
|
|
||||||
const getMessage = (locale, key, substitutions) => {
|
const getMessage = (locale, key, substitutions) => {
|
||||||
console.log(`locale, key, substitutions`, locale, key, substitutions);
|
|
||||||
// check locale is loaded
|
// check locale is loaded
|
||||||
if (!locale) {
|
if (!locale) {
|
||||||
// throw new Error('Translator - has not loaded a locale yet.')
|
// throw new Error('Translator - has not loaded a locale yet.')
|
||||||
|
Loading…
Reference in New Issue
Block a user