Skip to content

Commit

Permalink
safe check
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 committed Sep 11, 2019
1 parent 8679498 commit e7f2579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/UI/TransactionElement/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class TransactionElement extends PureComponent {

renderTxTime = () => {
const { tx, selectedAddress } = this.props;
const incoming = toChecksumAddress(tx.transaction.to) === selectedAddress;
const incoming = tx.transaction.to && toChecksumAddress(tx.transaction.to) === selectedAddress;
const selfSent = incoming && toChecksumAddress(tx.transaction.from) === selectedAddress;
return (
<Text style={styles.date}>
Expand Down

0 comments on commit e7f2579

Please sign in to comment.