mirror of
https://github.com/oceanprotocol/market.git
synced 2024-06-26 03:06:49 +02:00
Making error message more generic (#1368)
This commit is contained in:
parent
88d5179a29
commit
8271963292
|
@ -153,7 +153,7 @@ export default function Download({
|
|||
LoggerInstance.error(error)
|
||||
const message = isOwned
|
||||
? 'Failed to download file!'
|
||||
: 'Failed to buy datatoken from pool!'
|
||||
: 'An error occurred. Check console for more information.'
|
||||
toast.error(message)
|
||||
}
|
||||
setIsLoading(false)
|
||||
|
|
Loading…
Reference in New Issue
Block a user