Skip to content

Commit

Permalink
Merge pull request #354 from TripInfoWeb/dev_refactoring
Browse files Browse the repository at this point in the history
Fix: 빌드 오류 수정
  • Loading branch information
HyunJinNo authored Sep 21, 2024
2 parents 0d06a72 + 0377616 commit 7d5bb88
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/components/gathering/read/GatheringRecommendationList.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
"use client"
"use client";

import { GatheringRecommend } from "@/types/GatheringDto";
import GatheringItem from "../../common/GatheringItem";
import useAuthStore from "@/store/authStore";

const GatheringRecommendationList = ({
data,
}: {
data: GatheringRecommend[];
}) => {
const authStore = useAuthStore();

const GatheringRecommendationList = ({data}: {data: GatheringRecommend[]}) => {
return (
<div className="mt-[4.875rem] flex w-full flex-col">
<h2 className="text-2xl font-bold text-black">추천 모임 정보</h2>
Expand All @@ -13,8 +20,11 @@ const GatheringRecommendationList = ({data}: {data: GatheringRecommend[]}) => {
key={i.gatheringId}
data={{
...i,
openChattingUrl: ""
openChattingUrl: "",
}}
isAccessGathering={
!!authStore.sex && !!authStore.age && authStore.id > 0
}
/>
))}
</div>
Expand Down

0 comments on commit 7d5bb88

Please sign in to comment.