fix to not being able to reply to comments

This commit is contained in:
2024-06-18 12:27:34 +02:00
parent f2f096ef67
commit 34e44d2310

View File

@@ -23,7 +23,7 @@ const App = () => {
if(selectedPost) { if(selectedPost) {
selectPost(posts.find(post => post.id === selectedPost.id)); selectPost(posts.find(post => post.id === selectedPost.id));
} }
}, [posts, selectedPost]); }, [posts]);
const reload = async () => { const reload = async () => {