mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
fix asset details view
This commit is contained in:
parent
6323c5bbb3
commit
7ba5e2c1f4
@ -43,7 +43,7 @@ export default function AssetRoute(props: PageProps): ReactElement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
init()
|
init()
|
||||||
}, [])
|
}, [did])
|
||||||
|
|
||||||
return did && metadata ? (
|
return did && metadata ? (
|
||||||
<Layout title={title} uri={props.location.pathname}>
|
<Layout title={title} uri={props.location.pathname}>
|
||||||
@ -51,7 +51,7 @@ export default function AssetRoute(props: PageProps): ReactElement {
|
|||||||
<AssetContent
|
<AssetContent
|
||||||
did={did}
|
did={did}
|
||||||
metadata={metadata as MetaDataMarket}
|
metadata={metadata as MetaDataMarket}
|
||||||
path="/asset/:did"
|
path=":did"
|
||||||
/>
|
/>
|
||||||
</Router>
|
</Router>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
Loading…
Reference in New Issue
Block a user