Skip to content

Commit d7462bd

Browse files
committed
fix(tx page): address hash view
1 parent 92e711d commit d7462bd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pages/tx/[hash].vue

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
import TxOverview from "@/components/modules/tx/TxOverview.vue"
44
import BlobsTable from "@/components/modules/block/BlobsTable.vue"
55
6-
/** Services */
7-
import { comma } from "@/services/utils"
8-
96
/** API */
10-
import { fetchTxByHash, fetchTxMessages, fetchTxEvents } from "@/services/api/tx"
7+
import { fetchTxByHash } from "@/services/api/tx"
118
129
const route = useRoute()
1310
const router = useRouter()
@@ -82,7 +79,12 @@ useHead({
8279
:items="[
8380
{ link: '/', name: 'Explore' },
8481
{ link: '/txs', name: 'Transactions' },
85-
{ link: route.fullPath, name: `Transaction ${tx.hash.slice(tx.hash.length - 4, tx.hash.length)}` },
82+
{
83+
link: route.fullPath,
84+
name: `Transaction ${tx.hash.toUpperCase().slice(tx.hash.length - 4, tx.hash.length)} ••• ${tx.hash
85+
.toUpperCase()
86+
.slice(0, 4)}`,
87+
},
8688
]"
8789
:class="$style.breadcrumbs"
8890
/>

0 commit comments

Comments
 (0)