+
+
+
+ {walletInfo?.type ? (
+
+ ) : null}
+ {walletInfo?.type ? `${walletInfo.type} wallet connected` : "Connect wallet"}
+
+
+ {walletInfo ? (
+
+ Address
+
+
+
Public key
+
+
+
+ ) : null}
+
+ {error ? (
+
+
+ Error
+ {error}
+
+ ) : null}
+ {walletInfo?.type ? (
+
+ ) : (
+
+
+
+
+ )}
+
+
+ {walletInfo?.address ? (
+
+ ) : null}
+
+ );
+}
diff --git a/components/dataViews/CompletedTransaction.tsx b/components/dataViews/CompletedTransaction.tsx
index ec49e71..0665607 100644
--- a/components/dataViews/CompletedTransaction.tsx
+++ b/components/dataViews/CompletedTransaction.tsx
@@ -10,8 +10,8 @@ interface CompletedTransactionProps {
const CompletedTransaction = ({ transactionHash }: CompletedTransactionProps) => {
const { chain } = useChains();
- const baseURL = chain.explorerLink ? chain.explorerLink : "";
- const explorerLink = explorerLinkTx(baseURL, transactionHash);
+ const explorerLink = explorerLinkTx(chain.explorerLink.tx, transactionHash);
+
return (