1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-23 01:36:47 +02:00

revised asset not found message (#1124)

This commit is contained in:
Matthias Kretschmann 2022-02-17 21:37:59 +00:00 committed by GitHub
parent ab73a5b5d9
commit d2fb4db7c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -69,7 +69,8 @@ function AssetProvider({
if (!asset) {
setError(
`[asset] The asset for ${did} was not found in MetadataCache. If you just published a new data set, wait some seconds and refresh this page.`
`\`${did}\`` +
'\n\nWe could not find an asset for this DID in the cache. If you just published a new asset, wait some seconds and refresh this page.'
)
LoggerInstance.error(`[asset] Failed getting asset for ${did}`, asset)
} else {

View File

@ -45,6 +45,13 @@
margin-bottom: 0;
}
.text code {
font-size: 0.8rem;
color: inherit;
padding-left: 0;
padding-right: 0;
}
.action,
button.action {
margin-top: calc(var(--spacer) / 2);