Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeJunhyeok369 committed Feb 16, 2024
2 parents a16dc5d + cb2eece commit 6d81b04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/component/Reviews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ const Reviews = () => {
const { user } = useAuth();
const { data } = useQuery({ queryKey: [`/user/${user?.id}/reviews`] });
return (
<div>
<div className="grid grid-cols-3">
{data?.list.map((review: any) => (
<div key={review.id}>
<Link to={`/review/${review.id}`}>
<div className="relative shadow-custom2 w-1/3 h-[200px] p-[0.5px] block">
<div className="relative shadow-custom2 h-[200px] p-[0.5px] block">
<img
className="w-full h-full object-cover"
src={review.thumbnail}
src={review.files[0].thumbnail}
alt=""
/>
<p className="absolute left-2 bottom-2 text-white text-sm">
Expand Down

0 comments on commit 6d81b04

Please sign in to comment.