mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 17:24:51 +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()
|
||||
}, [])
|
||||
}, [did])
|
||||
|
||||
return did && metadata ? (
|
||||
<Layout title={title} uri={props.location.pathname}>
|
||||
@ -51,7 +51,7 @@ export default function AssetRoute(props: PageProps): ReactElement {
|
||||
<AssetContent
|
||||
did={did}
|
||||
metadata={metadata as MetaDataMarket}
|
||||
path="/asset/:did"
|
||||
path=":did"
|
||||
/>
|
||||
</Router>
|
||||
</Layout>
|
||||
|
Loading…
Reference in New Issue
Block a user