File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments