diff --git a/src/views/Blog/index.js b/src/views/Blog/index.js index b93b5e5..a4c8eae 100644 --- a/src/views/Blog/index.js +++ b/src/views/Blog/index.js @@ -24,7 +24,7 @@ export const Blog = ({ blogs, activeBlog, }) => { - let { } = useParams(); + let { id } = useParams(); console.log(id); // let id = location.getId();