Skip to content

Commit

Permalink
[block] Remove opening blocks and versions in new tabs in the block s…
Browse files Browse the repository at this point in the history
…ection
  • Loading branch information
gregnazario committed Nov 4, 2024
1 parent c3e22a4 commit 61002d7
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/pages/Blocks/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ type BlockCellProps = {
function BlockHeightCell({block}: BlockCellProps) {
return (
<GeneralTableCell sx={{textAlign: "left"}}>
<Link
to={`/block/${block.block_height}`}
target="_blank"
underline="none"
>
<Link to={`/block/${block.block_height}`} underline="none">
{block.block_height}
</Link>
</GeneralTableCell>
Expand All @@ -56,7 +52,7 @@ function BlockHashCell({block}: BlockCellProps) {
function FirstVersionCell({block}: BlockCellProps) {
return (
<GeneralTableCell sx={{textAlign: "right"}}>
<Link to={`/txn/${block.first_version}`} target="_blank" underline="none">
<Link to={`/txn/${block.first_version}`} underline="none">
{block.first_version}
</Link>
</GeneralTableCell>
Expand All @@ -66,7 +62,7 @@ function FirstVersionCell({block}: BlockCellProps) {
function LastVersionCell({block}: BlockCellProps) {
return (
<GeneralTableCell sx={{textAlign: "right"}}>
<Link to={`/txn/${block.last_version}`} target="_blank" underline="none">
<Link to={`/txn/${block.last_version}`} underline="none">
{block.last_version}
</Link>
</GeneralTableCell>
Expand Down

0 comments on commit 61002d7

Please sign in to comment.