Skip to content

Commit

Permalink
[DDW-614] Do not display rewards for byron wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikGuzei committed Jan 26, 2022
1 parent 57226a9 commit 4257aaf
Showing 1 changed file with 10 additions and 8 deletions.
Expand Up @@ -87,14 +87,16 @@ export default class WalletSummaryHeader extends Component<Props> {
{intl.formatMessage(globalMessages.adaUnit)}
</span>
</div>
<div className={styles.rewards}>
<WalletSummaryHeaderRewards
isRestoring={isRestoreActive}
total={reward.total}
unspent={reward.unspent}
walletAmount={wallet.amount}
/>
</div>
{!wallet.isLegacy && (
<div className={styles.rewards}>
<WalletSummaryHeaderRewards
isRestoring={isRestoreActive}
total={reward.total}
unspent={reward.unspent}
walletAmount={wallet.amount}
/>
</div>
)}
{!isLoadingTransactions && (
<div className={styles.transactionsCountWrapper}>
<div className={numberOfPendingTransactionsStyles}>
Expand Down

0 comments on commit 4257aaf

Please sign in to comment.