mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
fix category link
This commit is contained in:
parent
70ac182fd9
commit
9c352e740b
@ -47,7 +47,9 @@ export default class AssetDetails extends PureComponent<AssetDetailsProps> {
|
||||
|
||||
{base.categories && (
|
||||
<Link
|
||||
to={`/search?categories=${base.categories[0]}`}
|
||||
to={`/search?categories=${encodeURIComponent(
|
||||
base.categories[0]
|
||||
)}`}
|
||||
>
|
||||
{base.categories[0]}
|
||||
</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user