Skip to content

Commit

Permalink
delete uri encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
kchenturtles committed Dec 24, 2023
1 parent 2333d47 commit 685e8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/postPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function PostPreview({ post }: { post: Items }) {

return (
<div className = {styles.preview}>
<Link className = { styles.title } href = { `/posts/${encodeURIComponent(post.slug)}`}> {post.title}
<Link className = { styles.title } href = { `/posts/${post.slug}`}> {post.title}
</Link>
<div> {post.date} </div>
</div>
Expand Down

0 comments on commit 685e8c3

Please sign in to comment.