Skip to content

Commit

Permalink
Use a tag instead of link in posts
Browse files Browse the repository at this point in the history
  • Loading branch information
itexpert120 committed Nov 29, 2023
1 parent 79f6ee2 commit 4b3d8e1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/devhub/entity/post/Post.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,12 +625,7 @@ const tags = post.snapshot.labels ? (
>
{post.snapshot.labels.map((tag, idx) => (
<div className="d-flex align-items-center my-3 me-3">
<Link
to={href({
widgetSrc: "#/${REPL_DEVHUB}/widget/app",
params: { page: "feed", tag: tag },
})}
>
<a href={`/${REPL_DEVHUB}/widget/app?page=feed&tag=${tag}`}>
<div
className="d-flex gap-3 align-items-center"
style={{ cursor: "pointer", textDecoration: "none" }}
Expand All @@ -643,7 +638,7 @@ const tags = post.snapshot.labels ? (
}}
/>
</div>
</Link>
</a>
{idx !== post.snapshot.labels.length - 1 && (
<span className="ms-3"></span>
)}
Expand Down

0 comments on commit 4b3d8e1

Please sign in to comment.