Skip to content

Commit

Permalink
Fix addressBook lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
whymarrh committed Aug 8, 2019
1 parent 751f85a commit 17bc4a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const mapStateToProps = (state, ownProps) => {
: addressSlicer(checksumAddress(toAddress))
)

const addressBookObject = R.find(R.propEq('address', checksumAddress(toAddress)))(addressBook)
const addressBookObject = addressBook[checksumAddress(toAddress)]
const toNickname = addressBookObject ? addressBookObject.name : ''
const isTxReprice = Boolean(lastGasPrice)
const transactionStatus = transaction ? transaction.status : ''
Expand Down

0 comments on commit 17bc4a5

Please sign in to comment.