mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01: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…
x
Reference in New Issue
Block a user