display date of posts and comments
This commit is contained in:
@@ -25,7 +25,6 @@ const App = () => {
|
||||
if(selectedPost) {
|
||||
setSelectedPost(posts.find(post => post.id === selectedPost.id));
|
||||
}
|
||||
console.log(posts);
|
||||
}, [posts]);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user