Skip to content

Commit

Permalink
Fix: resolve blog not found bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinson-Taiwo committed Aug 24, 2024
1 parent fc216f1 commit 097b2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(landing-routes)/blog/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BlogHome = () => {
labelClassName={post.labelClassName}
onClick={() => {
localStorage.setItem("currentBlogPost", JSON.stringify(post));
router.push(`/blog/$?id=${post.id}`);
router.push(`/blog/${post.id}`);
}}
/>
))}
Expand Down

0 comments on commit 097b2d7

Please sign in to comment.