aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-05-01 10:53:12 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-05-01 10:53:19 +0800
commit12cfe8e543ebc0982f6dc087d28c7d56888ed666 (patch)
tree9b1fbd564dc4f334a1550eba63321a99794fde0f /ui
parentc7492f4f54acdab3b763b273481406c885199369 (diff)
downloadtangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar.gz
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar.bz2
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar.lz
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar.xz
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.tar.zst
tangerine-wallet-browser-12cfe8e543ebc0982f6dc087d28c7d56888ed666.zip
Fix binding of this for I18nProvider#tOrKey
Diffstat (limited to 'ui')
-rw-r--r--ui/app/helpers/higher-order-components/i18n-provider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/helpers/higher-order-components/i18n-provider.js b/ui/app/helpers/higher-order-components/i18n-provider.js
index 0e34e17e0..298a12a28 100644
--- a/ui/app/helpers/higher-order-components/i18n-provider.js
+++ b/ui/app/helpers/higher-order-components/i18n-provider.js
@@ -19,7 +19,7 @@ class I18nProvider extends Component {
return t(current, key, ...args) || t(en, key, ...args) || `[${key}]`
},
tOrDefault: this.tOrDefault,
- tOrKey (key, ...args) {
+ tOrKey: (key, ...args) => {
return this.tOrDefault(key, key, ...args)
},
}