refactor: drop unnecessary imports
This commit is contained in:
parent
0a833fa11d
commit
5256c7ea4b
2 changed files with 1 additions and 3 deletions
|
|
@ -48,7 +48,6 @@ const getCommissions = (cryptoCode, deviceId, config) => {
|
|||
|
||||
const getLocale = (deviceId, it) => {
|
||||
const locale = fromNamespace(namespaces.LOCALE)(it)
|
||||
|
||||
const filter = _.matches({ machine: deviceId })
|
||||
return _.omit('overrides', _.assignAll([locale, ..._.filter(filter)(locale.overrides)]))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue