Skip 'invoice not found' errors
This commit is contained in:
parent
85162b6d33
commit
28ea5ab70e
|
@ -62,7 +62,9 @@ const Invoice = ({ id, hash, errorCount, repeat, ...props }) => {
|
||||||
variables: { id }
|
variables: { id }
|
||||||
})
|
})
|
||||||
if (error) {
|
if (error) {
|
||||||
console.log(error)
|
if (error.message?.includes('invoice not found')) {
|
||||||
|
return
|
||||||
|
}
|
||||||
return <div>error</div>
|
return <div>error</div>
|
||||||
}
|
}
|
||||||
if (!data || loading) {
|
if (!data || loading) {
|
||||||
|
|
Loading…
Reference in New Issue