From 34e44d23104f20abb97e337e1836167e08a2585f Mon Sep 17 00:00:00 2001 From: timoschneider Date: Tue, 18 Jun 2024 12:27:34 +0200 Subject: [PATCH] fix to not being able to reply to comments --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index ef5a1ae..5b49d6f 100644 --- a/src/App.js +++ b/src/App.js @@ -23,7 +23,7 @@ const App = () => { if(selectedPost) { selectPost(posts.find(post => post.id === selectedPost.id)); } - }, [posts, selectedPost]); + }, [posts]); const reload = async () => {