mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix search links
This commit is contained in:
parent
e01da4293c
commit
6eda278f1b
@ -34,9 +34,11 @@ export default class AssetDetails extends PureComponent<AssetDetailsProps> {
|
||||
</span>
|
||||
{base.categories ? (
|
||||
// TODO: Make this link to search for respective category
|
||||
<Link to={'search?q='}>{base.categories[0]}</Link>
|
||||
<Link to={`/search?q=${base.categories[0]}`}>
|
||||
{base.categories[0]}
|
||||
</Link>
|
||||
) : (
|
||||
<Link to={'search?q='}>Fake Category</Link>
|
||||
<Link to={'/search?q='}>Fake Category</Link>
|
||||
)}
|
||||
<span>
|
||||
{base.files ? base.files.length : 0} data files
|
||||
|
Loading…
Reference in New Issue
Block a user