display date of posts and comments

This commit is contained in:
Pete Gerlach
2024-06-12 01:38:09 +02:00
parent 8287b72e60
commit be9d309f4d
3 changed files with 57 additions and 33 deletions

View File

@@ -25,7 +25,6 @@ const App = () => {
if(selectedPost) {
setSelectedPost(posts.find(post => post.id === selectedPost.id));
}
console.log(posts);
}, [posts]);
useEffect(() => {