1
0
Fork 0

Add new unhelpful error message to useSend hook.

This commit is contained in:
Matthias Kretschmann 2023-11-07 18:30:42 +00:00
parent f4faca4e51
commit 83e50e74c3
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
const terribleErrorMessages = [
'User rejected the request',
'User denied transaction signature',
'Cannot read properties of undefined'
'Cannot read properties of undefined',
'User cancelled the request'
]
export function isUnhelpfulErrorMessage(message: string) {