Toastify snapshot related errors
This commit is contained in:
parent
6caab5ce69
commit
df571b6c58
@ -67,7 +67,10 @@ const Snapshots: NextPage = () => {
|
|||||||
download(csv, 'snapshot.csv', 'text/csv')
|
download(csv, 'snapshot.csv', 'text/csv')
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error("Couldn't fetch snapshot data: ", err)
|
toast.error(`Could not fetch snapshot data: ${err}`, {
|
||||||
|
style: { maxWidth: 'none' },
|
||||||
|
})
|
||||||
|
console.error('Could not fetch snapshot data: ', err)
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user