From b309f810d3e9cffd506aea9b023971c5b977f08d Mon Sep 17 00:00:00 2001 From: aramalipoor Date: Mon, 3 Oct 2022 15:10:26 +0200 Subject: [PATCH] fix: remove confirmations from wait method --- packages/react/src/common/hooks/useContractWriteAndWait.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/common/hooks/useContractWriteAndWait.ts b/packages/react/src/common/hooks/useContractWriteAndWait.ts index 874e3bb99..9d6945519 100644 --- a/packages/react/src/common/hooks/useContractWriteAndWait.ts +++ b/packages/react/src/common/hooks/useContractWriteAndWait.ts @@ -115,7 +115,7 @@ export const useContractWriteAndWait = ({ : undefined, ); - const receipt = await response?.wait(1); + const receipt = await response?.wait(); return { response, receipt }; },