feat: add links to tags
This commit is contained in:
parent
61088950d9
commit
ac56b450fc
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,9 @@ export default async function MiiList({ searchParams, userId }: Props) {
|
|||
</h3>
|
||||
<div id="tags" className="flex gap-1 *:px-2 *:py-1 *:bg-orange-300 *:rounded-full *:text-xs">
|
||||
{mii.tags.map((tag) => (
|
||||
<span key={tag}>{tag}</span>
|
||||
<Link href={{ query: { tags: tag } }} key={tag}>
|
||||
{tag}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue