- {renderNetworkIcon(fromDomainInfo?.chainId!, classes)}{" "}
- {fromDomainName}
+ {renderNetworkIcon(fromDomainInfo?.chainId!, classes)} {fromDomainName}
- {renderNetworkIcon(toDomainInfo?.chainId!, classes)}{" "}
- {toDomainName}
+ {renderNetworkIcon(toDomainInfo?.chainId!, classes)} {toDomainName}
-
+
Status:
@@ -120,21 +107,17 @@ export default function DetailView() {
-
- Source transaction hash:
-
+ Source transaction hash:
-
- {transfer?.deposit && transfer?.deposit?.txHash}
-
+ {transfer?.deposit && transfer?.deposit?.txHash}
{
- navigator.clipboard?.writeText(transfer?.deposit?.txHash!);
+ navigator.clipboard?.writeText(transfer?.deposit?.txHash!)
dispatcher({
type: "set_clipboard_message_t1",
payload: "Copied to clipboard!",
- });
+ })
}}
>
@@ -144,27 +127,19 @@ export default function DetailView() {
-
- Destination transaction hash:
-
+ Destination transaction hash:
-
+
{transfer?.execution && transfer?.execution?.txHash}
{
- navigator.clipboard?.writeText(transfer?.execution?.txHash!);
+ navigator.clipboard?.writeText(transfer?.execution?.txHash!)
dispatcher({
type: "set_clipboard_message_t2",
payload: "Copied to clipboard!",
- });
+ })
}}
>
@@ -174,18 +149,13 @@ export default function DetailView() {
-
- Source block number:
-
-
- {transfer?.deposit?.blockNumber}
-
+ Source block number:
+ {transfer?.deposit?.blockNumber}
Created:
- {formatDistanceDate(transfer?.timestamp!)} (
- {dayjs(transfer?.timestamp!).format("llll")})
+ {formatDistanceDate(transfer?.timestamp!)} ({dayjs(transfer?.timestamp).format("llll")})
@@ -198,14 +168,14 @@ export default function DetailView() {
}}
to={
fromDomainInfo!.type !== "evm"
- ? `${fromDomainExplorerUrl?.url}/account/${transfer?.sender}`
- : `${fromDomainExplorerUrl?.url}/address/${transfer?.sender}`
+ ? `${fromDomainExplorerUrl?.url}/account/${transfer?.accountId}`
+ : `${fromDomainExplorerUrl?.url}/address/${transfer?.accountId}`
}
>
- {transfer?.sender}
+ {transfer?.accountId}
) : (
- <>{transfer?.sender}>
+ <>{transfer?.accountId}>
)}
@@ -243,13 +213,11 @@ export default function DetailView() {