Skip to content

Commit

Permalink
tx hashes link to celo explorer (#151)
Browse files Browse the repository at this point in the history
Co-authored-by: LewisB <[email protected]>
  • Loading branch information
krisbitney and L03TJ3 authored Feb 1, 2024
1 parent 5255912 commit f5f478c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ReceiveIcon, SendIcon } from '../../assets';
import Decimal from 'decimal.js';
import { ethers } from 'ethers';
import { formatGoodDollarAmount } from '../../lib/calculateGoodDollarAmounts';
import { Link } from 'native-base';

interface TransactionListItemProps {
userIdentifier: string;
Expand Down Expand Up @@ -48,9 +49,9 @@ function TransactionListItem({
<Text style={styles.amount}>{formattedAmount}</Text>
</View>
</View>
<View>
<Link href={`https://explorer.celo.org/mainnet/tx/${txHash}`} isExternal>
<Text style={styles.hash}>{formattedHash}</Text>
</View>
</Link>
<View>
<View style={styles.txDetails}>
<Text style={[styles.feeText, styles.alignLeft]}>Transaction fee (Gas)</Text>
Expand Down

0 comments on commit f5f478c

Please sign in to comment.