1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

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

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) {