Skip to content
This repository was archived by the owner on Dec 26, 2024. It is now read-only.

Commit f0980b2

Browse files
authored
Merge pull request #81 from abstraction-hq/80-change-scan-ui-to-scanabstractionworld
chore: Update external scan links in components
2 parents 2fbfd9d + 9b6b965 commit f0980b2

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

components/SendAndReceive/Confirm/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Confirm = ({txHash, success}: ConfirmProps) => (
2020
<div className={`text-title-1s ${ success ? 'text-theme-green' : 'text-theme-red'} md:text-base-1s`}>
2121
Transaction {success ? "successful" : "failed"}
2222
</div>
23-
<a className="btn-gray w-full mt-12 md:mt-8" href={`https://vicscan.xyz/tx/${txHash}`} target="_blank">
23+
<a className="btn-gray w-full mt-12 md:mt-8" href={`https://scan.abstraction.world/operation/${txHash}`} target="_blank">
2424
View transaction
2525
</a>
2626
</div>

components/SendAndReceive/Send/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@ const Send = ({ preSelectedAsset }: SendProps) => {
103103
success: (data) => (
104104
<div>
105105
Transaction Success -{" "}
106-
<a href={`https://vicscan.xyz/tx/${data.userOpHash}`} target="_blank">
106+
<a href={`https://scan.abstraction.world/operation/${data.userOpHash}`} target="_blank">
107107
Click to view on scan
108108
</a>
109109
</div>
110110
),
111111
error: (err) => (
112112
<div>
113113
Transaction Fail -{" "}
114-
<a href={`https://vicscan.xyz/tx/${err.userOpHash}`} target="_blank">
114+
<a href={`https://scan.abstraction.world/operation/${err.userOpHash}`} target="_blank">
115115
Click to view on scan
116116
</a>
117117
</div>

templates/CreatePage/SignUpHandle/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ const SignUpHandle = ({
6666
success: (data) => (
6767
<div>
6868
Transaction Success -{" "}
69-
<a href={`https://vicscan.xyz/tx/${data.userOpHash}`} target="_blank">
69+
<a href={`https://scan.abstraction.world/operation/${data.userOpHash}`} target="_blank">
7070
Click to view on scan
7171
</a>
7272
</div>
7373
),
7474
error: (err) => (
7575
<div>
7676
Transaction Fail -{" "}
77-
<a href={`https://vicscan.xyz/tx/${err.userOpHash}`} target="_blank">
77+
<a href={`https://scan.abstraction.world/operation/${err.userOpHash}`} target="_blank">
7878
Click to view on scan
7979
</a>
8080
</div>

templates/CreatePage/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ const CreatePage = () => {
5454
success: (data) => (
5555
<div>
5656
Transaction Success -{" "}
57-
<a href={`https://vicscan.xyz/tx/${userOpHash}`} target="_blank">
57+
<a href={`https://scan.abstraction.world/operation/${userOpHash}`} target="_blank">
5858
Click to view on scan
5959
</a>
6060
</div>
6161
),
6262
error: (err) => (
6363
<div>
6464
Transaction Fail -{" "}
65-
<a href={`https://vicscan.xyz/tx/${userOpHash}`} target="_blank">
65+
<a href={`https://scan.abstraction.world/operation/${userOpHash}`} target="_blank">
6666
Click to view on scan
6767
</a>
6868
</div>

templates/WelcomePage/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ const WelcomePage = () => {
5858
success: (data) => (
5959
<div>
6060
Transaction Success -{" "}
61-
<a href={`https://vicscan.xyz/tx/${userOpHash}`} target="_blank">
61+
<a href={`https://scan.abstraction.world/operation/${userOpHash}`} target="_blank">
6262
Click to view on scan
6363
</a>
6464
</div>
6565
),
6666
error: (err) => (
6767
<div>
6868
Transaction Fail -{" "}
69-
<a href={`https://vicscan.xyz/tx/${userOpHash}`} target="_blank">
69+
<a href={`https://scan.abstraction.world/operation/${userOpHash}`} target="_blank">
7070
Click to view on scan
7171
</a>
7272
</div>

0 commit comments

Comments
 (0)