Skip to content

Commit 89521fe

Browse files
committedDec 8, 2023
Remove all unnecessary comments
1 parent fa2faa8 commit 89521fe

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed
 

‎frontend/src/components/PhotoListItem.jsx

-25
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,6 @@ import PhotoFavButton from "./PhotoFavButton";
66
const PhotoListItem = (props) => {
77
const { photo, favPhotos, setFavPhotos, onPhotoClicked, onLikeClicked } = props;
88

9-
// let output = photos.map(data => {
10-
// return (
11-
// <li key={data.id}>
12-
// <div className="photo-list__item" >
13-
// <PhotoFavButton
14-
// key={data.id}
15-
// favPhotos={favPhotos}
16-
// setFavPhotos={setFavPhotos}
17-
// photoId={data.id}
18-
// onLikeClicked={onLikeClicked}
19-
20-
// />
21-
// <img src={data.urls.regular} className="photo-list__image" onClick={() => onPhotoClicked({data})} name="imageSource" />
22-
// <div className="photo-list__user-details">
23-
// <img src={data.user.profile} className="photo-list__user-profile" />
24-
// <div className="photo-list__user-text">
25-
// <span className="photo-list__user-info">{data.user.username}</span>
26-
// <span className="photo-list__user-location">{data.location.city}, {data.location.country}</span>
27-
// </div>
28-
// </div>
29-
// </div>
30-
// </li>
31-
// );
32-
// });
33-
349
return (
3510
<li key={photo.id}>
3611
<div className="photo-list__item" >

0 commit comments

Comments
 (0)