Skip to content

Commit

Permalink
Bug bash fast follows
Browse files Browse the repository at this point in the history
  • Loading branch information
dgca committed May 29, 2024
1 parent 85926c0 commit cad6611
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion renderer/components/BridgeAssetsForm/BridgeAssetsForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export function BridgeAssetsFormContent({
}

const selectedAsset = assetOptionsMap.get(assetIdValue);
console.log(selectedAsset?.confirmedBalance, amountValue);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,11 @@ export function BridgeTransactionInformation({ transaction, ...rest }: Props) {
trpcReact.getChainportTransactionStatus.useQuery({
transactionHash: transaction.hash,
});

const { data: chainportMeta } = trpcReact.getChainportMeta.useQuery();
const { data: bridgeNoteMemo } = trpcReact.decodeMemo.useQuery({
// @todo: Figure out how to do this without hardcoding the index
memo: transaction.notes![1].memoHex,
memo: transaction.notes![transaction.type === "send" ? 1 : 0].memoHex,
});

const targetNetwork = useMemo(() => {
Expand All @@ -70,7 +71,7 @@ export function BridgeTransactionInformation({ transaction, ...rest }: Props) {

const baseUrl =
chainportMeta.cp_network_ids[chainportStatus.target_network_id ?? ""]
.explorer_url;
?.explorer_url;

return baseUrl + "tx/" + chainportStatus.target_tx_hash;
}, [chainportMeta, chainportStatus]);
Expand Down

0 comments on commit cad6611

Please sign in to comment.