diff --git a/website/components/demos/send-transaction.tsx b/website/components/demos/send-transaction.tsx index 70acb903..ed89026b 100644 --- a/website/components/demos/send-transaction.tsx +++ b/website/components/demos/send-transaction.tsx @@ -59,7 +59,7 @@ function Inner() { const { data: receipt, - isPending, + isLoading, isError, error, } = useWaitForTransaction({ @@ -79,7 +79,7 @@ function Inner() { ); } - if (isPending) { + if (isLoading) { return ( <> @@ -112,7 +112,7 @@ function Inner() { Send Transactions ); - }, [isSubmitting, isPending, receipt]); + }, [isSubmitting, isLoading, receipt]); const action = () => (receipt ? reset() : write()); @@ -143,7 +143,7 @@ function Inner() {