1
0
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:
Matthias Kretschmann 2019-05-24 11:22:24 +02:00
parent 70ac182fd9
commit 9c352e740b
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -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>