mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
revised asset not found message (#1124)
This commit is contained in:
parent
ab73a5b5d9
commit
d2fb4db7c6
@ -69,7 +69,8 @@ function AssetProvider({
|
|||||||
|
|
||||||
if (!asset) {
|
if (!asset) {
|
||||||
setError(
|
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)
|
LoggerInstance.error(`[asset] Failed getting asset for ${did}`, asset)
|
||||||
} else {
|
} else {
|
||||||
|
@ -45,6 +45,13 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text code {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: inherit;
|
||||||
|
padding-left: 0;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.action,
|
.action,
|
||||||
button.action {
|
button.action {
|
||||||
margin-top: calc(var(--spacer) / 2);
|
margin-top: calc(var(--spacer) / 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user