1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
metamask-extension/ui/app/helpers
Mark Stacey 4cc75eb9af
Remove tOrKey and tOrDefault functions from i18n context (#8211)
These two functions were not especially useful. `tOrDefault` was used
only by `tOrKey`, and `tOrKey` was only used in one place. All it did
was return the given `key` directly if it was falsey, so it was easily
replaced by a condition.
2020-03-19 01:03:20 -03:00
..
constants Change permissions connect screen to use browser routing (#8072) 2020-02-27 11:20:05 -04:00
higher-order-components Remove tOrKey and tOrDefault functions from i18n context (#8211) 2020-03-19 01:03:20 -03:00
utils Fix method registry initialization (#8200) 2020-03-17 11:14:27 -03:00