Skip to content

Commit

Permalink
Merge pull request #138 from TripInfoWeb/dev_informations
Browse files Browse the repository at this point in the history
Fix: 빌드 오류 수정
  • Loading branch information
HyunJinNo authored Jul 26, 2024
2 parents 66f44c6 + 56073df commit fe2c28d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/gathering/GatheringList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import "react-date-range/dist/theme/default.css";
import { IoIosArrowDown } from "react-icons/io";
import { VscSettings } from "react-icons/vsc";
import GatheringItem from "../common/GatheringItem";
import Pagination from "../common/Pagination";
import GatheringFilterModal from "./GatheringFilterModal";
import GatheringSubCategoryList from "./GatheringSubCategoryList";
import PaginationContainer from "@/containers/common/PaginationContainer";

interface IGatheringList {
isModal: boolean;
Expand Down Expand Up @@ -96,7 +96,7 @@ const GatheringList = (props: IGatheringList) => {
/>
))}
</div>
<Pagination />
<PaginationContainer currentPage={1} totalPages={6} />
</div>
);
};
Expand Down
5 changes: 4 additions & 1 deletion src/components/mypage/MyBoardList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,12 @@ const MyBoardList = ({ data }: MyBoardListProps) => {
<InformationItem
key={"post" + post.id}
informationId={post.id}
categoryId={post.category}
categoryId={1}
title={post.title}
image={post.image}
address="테스트 주소"
likeCount={12}
viewCount={66}
/>
);
} else {
Expand Down
5 changes: 4 additions & 1 deletion src/components/mypage/MyBookmarkList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ const MyBookmarkList = ({ data }: MyBookmarkListProps) => {
<InformationItem
key={"post" + post.id}
informationId={post.id}
categoryId={post.category}
categoryId={1}
title={post.title}
image={post.image}
address="테스트 주소"
likeCount={33}
viewCount={44}
/>
);
} else {
Expand Down

0 comments on commit fe2c28d

Please sign in to comment.