From 6367cd179257147dd686f74dc9c720db22a715fe Mon Sep 17 00:00:00 2001 From: dolf321 <65448126+dolf321@users.noreply.github.com> Date: Fri, 25 Aug 2023 13:35:49 +0300 Subject: [PATCH] FIX slight bug in callback --- web/src/pages/core/public/Forum/Forum.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/pages/core/public/Forum/Forum.jsx b/web/src/pages/core/public/Forum/Forum.jsx index 634e509d..d9f8bf4b 100644 --- a/web/src/pages/core/public/Forum/Forum.jsx +++ b/web/src/pages/core/public/Forum/Forum.jsx @@ -167,7 +167,7 @@ export default function Forum() { refreshSelectedPost(); }) .catch(standardErrorHandler(enqueueSnackbar)); - }, []); + }, [selectedPost]); return (