diff --git a/next.config.js b/next.config.js index bf2eb08..91ef62f 100644 --- a/next.config.js +++ b/next.config.js @@ -1,7 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, - trailingSlash: true, }; module.exports = nextConfig; diff --git a/src/commons/kakao/keyword/kakaomap.styled.tsx b/src/commons/kakao/keyword/kakaomap.styled.tsx index ae70176..821a7b8 100644 --- a/src/commons/kakao/keyword/kakaomap.styled.tsx +++ b/src/commons/kakao/keyword/kakaomap.styled.tsx @@ -214,3 +214,5 @@ export const HiddenBox = styled.div` `; export const WeatherBox = styled.div``; +export const Warrap = styled.div``; +export const WarrapIn = styled.span``; diff --git a/src/commons/kakao/keyword/kakaomapmarkers.tsx b/src/commons/kakao/keyword/kakaomapmarkers.tsx index 6f4629b..5de8bc9 100644 --- a/src/commons/kakao/keyword/kakaomapmarkers.tsx +++ b/src/commons/kakao/keyword/kakaomapmarkers.tsx @@ -5,7 +5,7 @@ import { v4 as uuidv4 } from "uuid"; export default function KakaomapMarks(props: MarkerProps) { return ( - <> + {props.data?.fetchBoardsPage && !props.isActive1 && props.data?.fetchBoardsPage.map((el, index: number) => ( @@ -30,7 +30,7 @@ export default function KakaomapMarks(props: MarkerProps) { ))} {props.markers.map((marker: any, index: number) => ( - <> + {marker.group_code === "FD6" && ( } )} - + ))} - + ); } diff --git a/src/component/unit/boards/detail/detail.query.tsx b/src/component/unit/boards/detail/detail.query.tsx index 98fd4fe..afcf450 100644 --- a/src/component/unit/boards/detail/detail.query.tsx +++ b/src/component/unit/boards/detail/detail.query.tsx @@ -35,3 +35,19 @@ export const FETCH_USER_LIKE = gql` } } `; + +export const FETCH_BOARDS_PAGE = gql` + query fetchBoardsPage( + $page: Int + $category: String + $search: String + $sortType: String + ) { + fetchBoardsPage( + page: $page + category: $category + search: $search + sortType: $sortType + ) + } +`; diff --git a/src/component/unit/mypaids/mypaids.presenter.tsx b/src/component/unit/mypaids/mypaids.presenter.tsx index 8a21a9b..7cab612 100644 --- a/src/component/unit/mypaids/mypaids.presenter.tsx +++ b/src/component/unit/mypaids/mypaids.presenter.tsx @@ -59,6 +59,3 @@ export default function MypaidsPresenter(props: IMypaidsPresenter) { ); } - -{ -}