Skip to content

Commit c132194

Browse files
committed
fix(components): Fixed redirects in history
1 parent 035f870 commit c132194

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

packages/components/src/History.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ function HistoryItemLayout(
1515
{
1616
children,
1717
timestamp,
18-
blockHash58
18+
blockHash58,
1919
}
2020
:
2121
{
2222
children: JSX.Element,
2323
timestamp: string,
24-
blockHash58: string
24+
blockHash58: string,
2525
}
2626
) {
2727
return(
@@ -62,42 +62,42 @@ function HistoryItemLayout(
6262
function Burn({ accountId } : { accountId : string }){
6363
return(
6464
<Box>
65-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>{ accountId }</Link> burned this NFT.
65+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>{ accountId }</Link> burned this NFT.
6666
</Box>
6767
)
6868
}
6969

7070
function Mint({ accountId } : { accountId : string }){
7171
return(
7272
<Box>
73-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> minted this NFT.
73+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> minted this NFT.
7474
</Box>
7575
)
7676
}
7777

7878
function Bid({ accountId } : { accountId : string }){
7979
return(
8080
<Box>
81-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> placed a bid.
81+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> placed a bid.
8282
</Box>
8383
)
8484
}
8585

8686
function BidRemove({ accountId } : { accountId : string }){
8787
return(
8888
<Box>
89-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> removed their bid.
89+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> removed their bid.
9090
</Box>
9191
)
9292
}
9393

9494
function BidAccept({ accountId, receiverId } : { accountId : string, receiverId: string }){
9595
return(
9696
<Box>
97-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>
97+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>
9898
{accountId}
9999
</Link> accepted{" "}
100-
<Link href={`https://explorer.near.org/accounts/${receiverId}`} target={"_blank"}>
100+
<Link href={`https://explorer.testnet.near.org/accounts/${receiverId}`} target={"_blank"}>
101101
{ receiverId }
102102
</Link>
103103
's bid.
@@ -108,7 +108,7 @@ function BidAccept({ accountId, receiverId } : { accountId : string, receiverId:
108108
function BidUpdate({ accountId } : { accountId : string }){
109109
return(
110110
<Box>
111-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> updated their bid.
111+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>{accountId}</Link> updated their bid.
112112
</Box>
113113
)
114114
}
@@ -117,10 +117,10 @@ function BidUpdate({ accountId } : { accountId : string }){
117117
function Transfer({ accountId, receiverId } : { accountId : string, receiverId: string }){
118118
return(
119119
<Box>
120-
<Link href={`https://explorer.near.org/accounts/${accountId}`} target={"_blank"}>
120+
<Link href={`https://explorer.testnet.near.org/accounts/${accountId}`} target={"_blank"}>
121121
{accountId}
122122
</Link> transferred this NFT to{" "}
123-
<Link href={`https://explorer.near.org/accounts/${receiverId}`} target={"_blank"}>
123+
<Link href={`https://explorer.testnet.near.org/accounts/${receiverId}`} target={"_blank"}>
124124
{ receiverId}
125125
</Link>
126126
</Box>

0 commit comments

Comments
 (0)