fix: fix lowercase issue in DescItem component

This commit is contained in:
monoid 2024-10-13 01:38:18 +09:00
parent 6ed78e6459
commit de1bb7dfde

View File

@ -22,7 +22,7 @@ export function DescTagItem({
{items.length === 0 ? "N/A" : items.map( {items.length === 0 ? "N/A" : items.map(
(x, i) => (x, i) =>
<> <>
<StyledLink key={x} to={`/search?allow_tag=${name}:${x}`}>{x}</StyledLink> <StyledLink key={x} to={`/search?allow_tag=${name.toLowerCase()}:${x}`}>{x}</StyledLink>
{i + 1 < items.length && <span className="">, </span>} {i + 1 < items.length && <span className="">, </span>}
</> </>
)} )}