mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-22 09:13:35 +01:00
Add new unhelpful error message to useSend hook.
This commit is contained in:
parent
f4faca4e51
commit
83e50e74c3
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user