superhero-com / superhero-wallet

Superhero Wallet – More than just a way to receive, store & send tokens on the æternity blockchain
https://wallet.superhero.com
ISC License
39 stars 42 forks source link

Remove unused prop value calculations from Transaction Overview component #3088

Closed peronczyk closed 3 weeks ago

peronczyk commented 3 weeks ago

Right now the TransactionOverview is passing following props to TransactionInfo component:

  1. title
  2. sender
  3. recipient
  4. transaction-function
  5. transaction
  6. additional-tag

Unfortunately TransactionInfo does not support the transaction-function and sender props.

This task is about removing the logic that calculates these unused props. This is the affected area of the app (transaction details top):

Image

As this is a refactoring task the UI should not differ from the dev version of the app.

Liubov-crypto commented 3 weeks ago

LGTM