Merge pull request #41 from Y4ELX/fix-tag-links-on-mii-details-to-use-query-parameters

fix: update tag links to use query parameters
This commit is contained in:
trafficlunar 2026-04-19 22:21:00 +01:00 committed by GitHub
commit 18a49a74e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -271,7 +271,7 @@ export default function MiiPage() {
{/* Tags */}
<div id="tags" className="flex flex-wrap gap-1 mt-1 *:px-2 *:py-1 *:bg-orange-300 *:rounded-full *:text-xs">
{mii.tags.map((tag: string) => (
<Link to={`/tags=${tag}`} key={tag}>
<Link to={`/?tags=${encodeURIComponent(tag)}`} key={tag}>
{tag}
</Link>
))}