Skip to content

Commit

Permalink
update heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
271212 committed Sep 4, 2024
1 parent 48bee28 commit d3ac1c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
5 changes: 2 additions & 3 deletions src/modules/l2-rollup-detail/TokenTransferTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,8 @@ const TokenTransferTab = (props: IProps) => {
_hover={{
textDecoration: 'underline',
}}
onClick={() => {
router.push(`${HEART_BEAT}/tx/${data.transaction_hash}`);
}}
as={'a'}
href={`${HEART_BEAT}/tx/${data.transaction_hash}`}
>
<Flex direction={'row'} alignItems={'center'} gap={'4px'}>
<Text className={s.title}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,8 @@ const TokenTransferTabBitcoin = (props: IProps) => {
_hover={{
textDecoration: 'underline',
}}
onClick={() => {
router.push(`${HEART_BEAT}/tx/${data.tx_id}`);
}}
as={'a'}
href={`${HEART_BEAT}/tx/${data.tx_id}`}
>
<Flex direction={'row'} alignItems={'center'} gap={'4px'}>
<Text className={s.title}>
Expand Down
5 changes: 2 additions & 3 deletions src/modules/l2-rollup-detail/TransactionsTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,8 @@ const TransactionsTab = (props: IProps) => {
_hover={{
textDecoration: 'underline',
}}
onClick={() => {
router.push(`${HEART_BEAT}/tx/${data.hash}`);
}}
as={'a'}
href={`${HEART_BEAT}/tx/${data.hash}`}
>
<Flex direction={'row'} alignItems={'center'} gap={'4px'}>
<Text className={s.title}>{shortCryptoAddress(data.hash)}</Text>
Expand Down
5 changes: 2 additions & 3 deletions src/modules/l2-rollup-detail/TransactionsTabBitcoin/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ const TransactionsTabBitcoin = (props: IProps) => {
_hover={{
textDecoration: 'underline',
}}
onClick={() => {
window.open(`${HEART_BEAT}/tx/${data.tx_id}`);
}}
as={'a'}
href={`${HEART_BEAT}/tx/${data.tx_id}`}
>
<Flex direction={'row'} alignItems={'center'} gap={'4px'}>
<Text className={s.title}>
Expand Down

0 comments on commit d3ac1c4

Please sign in to comment.