diff --git a/apps/dashboard/src/@/components/blocks/wallet-address.tsx b/apps/dashboard/src/@/components/blocks/wallet-address.tsx index ff9727cad67..c7905aeaf2c 100644 --- a/apps/dashboard/src/@/components/blocks/wallet-address.tsx +++ b/apps/dashboard/src/@/components/blocks/wallet-address.tsx @@ -78,7 +78,7 @@ export function WalletAddress(props: { diff --git a/apps/dashboard/src/@/components/ui/CopyTextButton.tsx b/apps/dashboard/src/@/components/ui/CopyTextButton.tsx index 1ae9f9375b3..0f490b2d18a 100644 --- a/apps/dashboard/src/@/components/ui/CopyTextButton.tsx +++ b/apps/dashboard/src/@/components/ui/CopyTextButton.tsx @@ -41,7 +41,7 @@ export function CopyTextButton(props: { + + + {props.textToShow} + + + + ); +} diff --git a/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/tx/[txHash]/bridge-status.tsx b/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/tx/[txHash]/bridge-status.tsx index ac220c4b6fa..9f05c4b0188 100644 --- a/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/tx/[txHash]/bridge-status.tsx +++ b/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/tx/[txHash]/bridge-status.tsx @@ -3,7 +3,12 @@ import { useQuery } from "@tanstack/react-query"; import { CodeClient } from "@workspace/ui/components/code/code.client"; import { Img } from "@workspace/ui/components/img"; import { Spinner } from "@workspace/ui/components/spinner"; -import { ArrowRightIcon, CircleCheckIcon, CircleXIcon } from "lucide-react"; +import { + ArrowRightIcon, + ArrowUpRightIcon, + CircleCheckIcon, + CircleXIcon, +} from "lucide-react"; import Link from "next/link"; import { NATIVE_TOKEN_ADDRESS, type ThirdwebClient } from "thirdweb"; import type { Status, Token } from "thirdweb/bridge"; @@ -11,6 +16,7 @@ import { status } from "thirdweb/bridge"; import { toTokens } from "thirdweb/utils"; import { WalletAddress } from "@/components/blocks/wallet-address"; import { CopyTextButton } from "@/components/ui/CopyTextButton"; +import { LinkWithCopyButton } from "@/components/ui/link-with-copy-button"; import { SkeletonContainer } from "@/components/ui/skeleton"; import { cn } from "@/lib/utils"; import { fetchChain } from "@/utils/fetchChain"; @@ -46,9 +52,9 @@ export function BridgeStatus(props: { /> )} -
-
-

Status

+
+
+

Status

-
-

Payment ID

+
+

Payment ID

@@ -90,7 +97,7 @@ export function BridgeStatus(props: { {purchaseDataString && (
-

Purchase Data

+

Purchase Data

@@ -121,8 +130,9 @@ function TokenInfo(props: { {props.label}
+
-
+
( - {data} + {data}{" "} + )} /> @@ -189,41 +200,44 @@ function TokenInfo(props: {
-
+
-
-
-

{props.addressLabel}

+
+
+

{props.addressLabel}

-
-

Token Address

- +

Token Address

+
-
-

Transaction Hash

+
+

Transaction Hash

{props.txHash ? ( - ) : (

N/A

@@ -288,10 +302,8 @@ function FailedBridgeStatusContent(props: { }) { return (
-

- Transactions -

-
+

Transactions

+
{props.transactions.map((tx) => { return ( +
{chainQuery.data?.name} +
} /> ( -

{data}

- )} + render={(data) =>

{data}

} />
-
);