From: charleswrayjr Date: Mon, 29 Sep 2025 04:44:54 +0000 (-0500) Subject: Removing the return statement inside the main useEffect call in Posts.jsx to clear... X-Git-Url: https://git.phasecustomsoft.com/static/git-favicon.png?a=commitdiff_plain;h=41ebd69504868edfa196bde8ec086c843f58b1e6;p=phs-home.git Removing the return statement inside the main useEffect call in Posts.jsx to clear error. --- diff --git a/src/app/views/Posts/Posts.jsx b/src/app/views/Posts/Posts.jsx index 5691a1e..79e4714 100755 --- a/src/app/views/Posts/Posts.jsx +++ b/src/app/views/Posts/Posts.jsx @@ -36,7 +36,7 @@ const Posts = ({ user }) => { setError('Failed to load posts or users'); } }; - return fetchData(); + fetchData().catch(); } }, [user]);