From d1438d704bd9c6c54a7ece1690e5758ba2739c49 Mon Sep 17 00:00:00 2001 From: Mikhail Mikheev Date: Fri, 28 Aug 2020 18:09:10 +0400 Subject: [PATCH] fix onUserConfirm invoke --- src/logic/safe/store/actions/createTransaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logic/safe/store/actions/createTransaction.ts b/src/logic/safe/store/actions/createTransaction.ts index e9048207..6f0424a7 100644 --- a/src/logic/safe/store/actions/createTransaction.ts +++ b/src/logic/safe/store/actions/createTransaction.ts @@ -212,7 +212,7 @@ const createTransaction = ( await tx .send(sendParams) .once('transactionHash', async (hash) => { - onUserConfirm(safeTxHash) + onUserConfirm?.(safeTxHash) try { txHash = hash dispatch(closeSnackbarAction({ key: beforeExecutionKey }))