chore: update ramda
This commit is contained in:
parent
82132e8eb8
commit
ffb66814f6
45 changed files with 2741 additions and 1620 deletions
|
|
@ -54,7 +54,7 @@ const FiatBalanceOverrides = ({ config, section }) => {
|
|||
)
|
||||
|
||||
const findSuggestion = it => {
|
||||
const coin = R.find(R.propEq('deviceId', it?.machine), machines)
|
||||
const coin = R.find(R.propEq(it?.machine, 'deviceId'), machines)
|
||||
return coin ? [coin] : []
|
||||
}
|
||||
|
||||
|
|
@ -127,7 +127,7 @@ const FiatBalanceOverrides = ({ config, section }) => {
|
|||
)
|
||||
|
||||
const viewMachine = it =>
|
||||
R.compose(R.path(['name']), R.find(R.propEq('deviceId', it)))(machines)
|
||||
R.compose(R.path(['name']), R.find(R.propEq(it, 'deviceId')))(machines)
|
||||
|
||||
const elements = R.concat(
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue