Skip to content

Commit

Permalink
added link to tag page
Browse files Browse the repository at this point in the history
  • Loading branch information
NazireAta committed Dec 14, 2024
1 parent ebfd970 commit 5261e27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/routes/question.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,11 @@ export default function QuestionPage() {
) : (
<div>
{question.tags.map((s) => (
<Link to={`/tag/${s.id}`} key={s.name}>
<Link to={`/tag/${s.id}`} key={s.name}>
<Badge>{s.name}</Badge>
</Link>
))}
))// Link to tag page
}
</div>
)}

Expand Down

0 comments on commit 5261e27

Please sign in to comment.