diff --git a/src/components/common/modal/Modal.tsx b/src/components/common/modal/Modal.tsx index 7b15bd06..baec8a36 100644 --- a/src/components/common/modal/Modal.tsx +++ b/src/components/common/modal/Modal.tsx @@ -1,8 +1,8 @@ import useOutsideClick from "@/hooks/useOutsideClick"; import usePreventBodyScroll from "@/hooks/usePreventBodyScroll"; -import Image from "next/image"; import { useEffect, useRef, useState } from "react"; import { createPortal } from "react-dom"; +import { MdClose } from "react-icons/md"; interface ModalProps extends React.PropsWithChildren { isOpen: boolean; @@ -80,17 +80,18 @@ export const Modal = ({ > {isHeaderBar && (
diff --git a/src/components/gathering/createUpdate/editor/GatheringEditorCategory.tsx b/src/components/gathering/createUpdate/editor/GatheringEditorCategory.tsx index bd192974..0029d321 100644 --- a/src/components/gathering/createUpdate/editor/GatheringEditorCategory.tsx +++ b/src/components/gathering/createUpdate/editor/GatheringEditorCategory.tsx @@ -63,7 +63,7 @@ const GatheringEditorCategory = ({ )} - modalState.closeModal()}> + modalState.closeModal()} isHeaderBar={true}> { )} - modalState.closeModal()}> + modalState.closeModal()} isHeaderBar={true}> modalState.closeModal()} /> diff --git a/src/components/gathering/createUpdate/editor/GatheringEditorParticipantsFilter.tsx b/src/components/gathering/createUpdate/editor/GatheringEditorParticipantsFilter.tsx index 7991f8d3..ab48f70a 100644 --- a/src/components/gathering/createUpdate/editor/GatheringEditorParticipantsFilter.tsx +++ b/src/components/gathering/createUpdate/editor/GatheringEditorParticipantsFilter.tsx @@ -67,7 +67,7 @@ const GatheringEditorParticipantsFilter = ({ )} - modalState.closeModal()}> + modalState.closeModal()} isHeaderBar={true}> diff --git a/src/components/gathering/createUpdate/editor/GatheringEditorPeriod.tsx b/src/components/gathering/createUpdate/editor/GatheringEditorPeriod.tsx index 0237df20..b8cbd22e 100644 --- a/src/components/gathering/createUpdate/editor/GatheringEditorPeriod.tsx +++ b/src/components/gathering/createUpdate/editor/GatheringEditorPeriod.tsx @@ -74,7 +74,7 @@ const GatheringEditorPeriod = ({ modalState }: IGatheringEditorPeriod) => { )} - modalState.closeModal()}> + modalState.closeModal()} isHeaderBar={true}> modalState.closeModal()} /> diff --git a/src/components/gathering/createUpdate/editor/GatheringEditorPlace.tsx b/src/components/gathering/createUpdate/editor/GatheringEditorPlace.tsx index f359b76d..fbac87fb 100644 --- a/src/components/gathering/createUpdate/editor/GatheringEditorPlace.tsx +++ b/src/components/gathering/createUpdate/editor/GatheringEditorPlace.tsx @@ -37,7 +37,7 @@ const GatheringEditorPlace = ({ modalState }: IGatheringEditorPlace) => { )} - modalState.closeModal()}> + modalState.closeModal()} isHeaderBar={true}> modalState.closeModal()} /> diff --git a/src/components/gathering/createUpdate/editor/GatheringEditorTime.tsx b/src/components/gathering/createUpdate/editor/GatheringEditorTime.tsx index 4d5ba2dc..2deb4854 100644 --- a/src/components/gathering/createUpdate/editor/GatheringEditorTime.tsx +++ b/src/components/gathering/createUpdate/editor/GatheringEditorTime.tsx @@ -45,8 +45,8 @@ const GatheringEditorTime = ({ modalState }: IGatheringEditorTime) => { )} - modalState.closeModal()}> - modalState.closeModal()} /> + modalState.closeModal()} isHeaderBar={true}> + modalState.closeModal()} /> ); diff --git a/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx b/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx index d49157a9..c3c59b8f 100644 --- a/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx +++ b/src/components/gathering/createUpdate/editor/modal/GatheringCategoryModal.tsx @@ -1,5 +1,4 @@ import "@/styles/reactDataRange.css"; -import Image from "next/image"; import { useState } from "react"; import { useFormContext } from "react-hook-form"; @@ -28,20 +27,9 @@ const GatheringCategoryModal = (props: IGatheringCategoryModalProps) => { return (
-

카테고리 선택 diff --git a/src/components/gathering/createUpdate/editor/modal/GatheringDeadlineModal.tsx b/src/components/gathering/createUpdate/editor/modal/GatheringDeadlineModal.tsx index 433008ab..ac2bb90f 100644 --- a/src/components/gathering/createUpdate/editor/modal/GatheringDeadlineModal.tsx +++ b/src/components/gathering/createUpdate/editor/modal/GatheringDeadlineModal.tsx @@ -9,7 +9,6 @@ import { subDays, } from "date-fns"; import { ko } from "date-fns/locale"; -import Image from "next/image"; import { useState } from "react"; import { Calendar } from "react-date-range"; import { useFormContext } from "react-hook-form"; @@ -63,20 +62,9 @@ const GatheringDeadlineModal = (props: IGatheringDeadlineModalProps) => { return (
-

모임 마감일 선택

diff --git a/src/components/gathering/createUpdate/editor/modal/GatheringParticipantsFilterModal.tsx b/src/components/gathering/createUpdate/editor/modal/GatheringParticipantsFilterModal.tsx index 1fca0328..23a5d37d 100644 --- a/src/components/gathering/createUpdate/editor/modal/GatheringParticipantsFilterModal.tsx +++ b/src/components/gathering/createUpdate/editor/modal/GatheringParticipantsFilterModal.tsx @@ -84,20 +84,9 @@ const GatheringParticipantsFilterModal = ( return (
-

참여자 선택

{ return (
-

날짜 선택

diff --git a/src/components/gathering/createUpdate/editor/modal/GatheringPlaceModal.tsx b/src/components/gathering/createUpdate/editor/modal/GatheringPlaceModal.tsx index fb4b329a..6ec6ef39 100644 --- a/src/components/gathering/createUpdate/editor/modal/GatheringPlaceModal.tsx +++ b/src/components/gathering/createUpdate/editor/modal/GatheringPlaceModal.tsx @@ -163,21 +163,8 @@ const GatheringPlaceModal = (props: IGatheringPlaceModalProps) => { return (
-

{ return (
{ "flex min-h-full flex-col items-center justify-start bg-white" } > -

시간 선택

diff --git a/src/components/gathering/read/modal/GatheringFilterModal.tsx b/src/components/gathering/read/modal/GatheringFilterModal.tsx index c8517f10..3afc10b3 100644 --- a/src/components/gathering/read/modal/GatheringFilterModal.tsx +++ b/src/components/gathering/read/modal/GatheringFilterModal.tsx @@ -187,20 +187,9 @@ const GatheringFilterModal = ({ closeModal }: IGatheringFilterModalProps) => { return (
-

조건 선택

diff --git a/src/components/informations/list/InformationSearch.tsx b/src/components/informations/list/InformationSearch.tsx index a9d00680..5c21acbf 100644 --- a/src/components/informations/list/InformationSearch.tsx +++ b/src/components/informations/list/InformationSearch.tsx @@ -1,8 +1,8 @@ -import { IoIosArrowDown } from "react-icons/io"; -import { VscSettings } from "react-icons/vsc"; import InformationFilterModalContainer from "@/containers/informations/list/InformationFilterModalContainer"; -import Link from "next/link"; import Image from "next/image"; +import Link from "next/link"; +import { IoIosArrowDown } from "react-icons/io"; +import { VscSettings } from "react-icons/vsc"; interface Props { pathname: string; diff --git a/src/containers/gathering/read/GatheringFilterContainer.tsx b/src/containers/gathering/read/GatheringFilterContainer.tsx index 434ced6e..1653e63c 100644 --- a/src/containers/gathering/read/GatheringFilterContainer.tsx +++ b/src/containers/gathering/read/GatheringFilterContainer.tsx @@ -28,7 +28,7 @@ const GatheringFilterContainer = (props: IGatheringFilterContainer) => {
필터
- setIsModal(false)}> + setIsModal(false)} isHeaderBar={true}> setIsModal(false)} />