fix filter link

This commit is contained in:
Brian Cao 2022-04-18 10:23:13 -07:00
parent 8384d6af35
commit d0f1487107

View File

@ -21,7 +21,9 @@ export default function FilterLink({ id, value, label, externalUrl }) {
[styles.active]: active && selected,
})}
>
{safeDecodeURI(label || value)}
{(label && typeof label === 'string') ?? value
? safeDecodeURI(label || value)
: label || value}
</a>
</Link>
{externalUrl && (