Fix: remove unnecessary variables
This commit is contained in:
parent
a521b679c4
commit
7210406a8a
7 changed files with 14 additions and 34 deletions
|
|
@ -104,8 +104,7 @@ const getGlobalNotifications = config => getNotifications(null, null, config)
|
|||
|
||||
const getTriggers = _.get('triggers')
|
||||
|
||||
const split = _.curry(_.split)
|
||||
const splitGetFirst = _.compose(_.head, split('_'))
|
||||
const splitGetFirst = _.compose(_.head, _.split('_'))
|
||||
|
||||
const getCryptosFromWalletNamespace = config => {
|
||||
return _.uniq(_.map(splitGetFirst, _.keys(fromNamespace('wallets', config))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue