Skip to content

Commit 832e608

Browse files
committed
Merge branch 'dev' into fix/refactor-rec-profile-card
2 parents 15ca9bc + 315076a commit 832e608

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/features/developer/components/ProjectInfoCard.jsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export const ProjectInfoCard = ({ project }) => {
3434
? projectSkills
3535
: projectSkills?.slice(0, 5) || [];
3636

37+
console.log("owner en ProjectInfoCard:", owner);
38+
3739
return (
3840
<div className="relative bg-neutral-80 flex flex-col rounded-lg shadow-md overflow-hidden border border-neutral-70 p-8 text-inherit no-underline w-full max-w-full">
3941
{category && (
@@ -60,11 +62,6 @@ export const ProjectInfoCard = ({ project }) => {
6062
<div className="flex flex-col justify-center items-center mt-4 mb-2 relative">
6163
<Link to={`/profile/${owner._id}`} className="relative group">
6264
<AvatarImage user={owner} width={16} />
63-
{/* <img
64-
src={owner.avatar}
65-
alt={`${owner.name} ${owner.surname}`}
66-
className="w-16 h-16 rounded-full border-2 border-neutral-60 hover:border-primary-50 transition-colors duration-300"
67-
/> */}
6865
</Link>
6966

7067
<Link

src/features/developer/pages/ProjectsPage.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,15 @@ export const ProjectsPage = () => {
4545
const fetchProjects = async () => {
4646
setLoading(true);
4747
const response = await getAllProjects();
48-
48+
console.log("Projects fetched:", response);
4949
if (response?.error) {
5050
console.error("Error fetching projects:", response.message);
5151
setProjects([]);
5252
} else {
5353
setProjects(response);
5454
}
55-
5655
setLoading(false);
5756
};
58-
5957
fetchProjects();
6058
}, []);
6159

0 commit comments

Comments
 (0)