fix onUserConfirm invoke

This commit is contained in:
Mikhail Mikheev 2020-08-28 18:09:10 +04:00
parent e0151a42d9
commit d1438d704b
1 changed files with 1 additions and 1 deletions

View File

@ -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 }))