Skip to content

Commit

Permalink
fix: change WitingForTx hash's type to Address
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodam-zz committed Nov 5, 2022
1 parent 6cd1b8f commit 2f8e1b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/headen/AssetDialogComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import { Loading } from "@/components/Loading";
import { NoWalletConnected } from "@/components/web3/NoWalletConnected";
import { WhenWallet } from "@/components/web3/WhenAccount";

export function WaitingForTx(props: { tx: { hash: string } }) {
export function WaitingForTx(props: { tx?: { hash: Address } }) {
return (
<span className="flex flex-col">
<span>Waiting for confirmation</span>
<span>tx: {props.tx.hash}</span>
<span>tx: {props.tx?.hash}</span>
</span>
);
}
Expand Down

0 comments on commit 2f8e1b0

Please sign in to comment.