Fix: remove unnecessary variables

This commit is contained in:
csrapr 2021-05-13 00:20:58 +01:00 committed by Josh Harvey
parent a521b679c4
commit 7210406a8a
7 changed files with 14 additions and 34 deletions

View file

@ -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))))