fix onUserConfirm invoke
This commit is contained in:
parent
e0151a42d9
commit
d1438d704b
|
@ -212,7 +212,7 @@ const createTransaction = (
|
||||||
await tx
|
await tx
|
||||||
.send(sendParams)
|
.send(sendParams)
|
||||||
.once('transactionHash', async (hash) => {
|
.once('transactionHash', async (hash) => {
|
||||||
onUserConfirm(safeTxHash)
|
onUserConfirm?.(safeTxHash)
|
||||||
try {
|
try {
|
||||||
txHash = hash
|
txHash = hash
|
||||||
dispatch(closeSnackbarAction({ key: beforeExecutionKey }))
|
dispatch(closeSnackbarAction({ key: beforeExecutionKey }))
|
||||||
|
|
Loading…
Reference in New Issue