]> PHS Git Server - phs-home.git/commitdiff
Removing the return statement inside the main useEffect call in Posts.jsx to clear...
authorcharleswrayjr <charleswrayjr@gmail.com>
Mon, 29 Sep 2025 04:44:54 +0000 (23:44 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Mon, 29 Sep 2025 04:44:54 +0000 (23:44 -0500)
src/app/views/Posts/Posts.jsx

index 5691a1ec91b10ef21d52c90fe1099f4e03f90716..79e4714d7d4a7d5fc5f0d5bbd280127631a8d3eb 100755 (executable)
@@ -36,7 +36,7 @@ const Posts = ({ user }) => {
           setError('Failed to load posts or users');
         }
       };
-      return fetchData();
+      fetchData().catch();
     }
   }, [user]);