group posts

This commit is contained in:
Виталий Лавшонок
2025-11-15 22:23:26 +03:00
parent dfc2985209
commit 56b6f9b339
28 changed files with 624 additions and 47 deletions

View File

@@ -6,8 +6,6 @@ export default function ProtectedRoute() {
const isAuthenticated = useAppSelector((state) => !!state.auth.jwt);
const location = useLocation();
console.log('location', location);
if (!isAuthenticated) {
return <Navigate to="/home/login" replace state={{ from: location }} />;
}