Skip to content

Commit

Permalink
fix: confirmations is a number always - fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juanky201271 committed Oct 29, 2023
1 parent 5bce4a4 commit 7923995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/History/components/TxDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const TxDetail: React.FunctionComponent<TxDetailProps> = ({ tx, closeModal, set_
</View>
<View style={{ display: 'flex', alignItems: 'flex-end' }}>
<FadeText>{translate('history.confirmations') as string}</FadeText>
<RegText>{tx.confirmations === null ? '-' : tx.confirmations.toString()}</RegText>
<RegText>{tx.confirmations.toString()}</RegText>
</View>
</View>

Expand Down

0 comments on commit 7923995

Please sign in to comment.