From 5c0944e57a1bf6d1ef12fb91696834ae4ba7ce89 Mon Sep 17 00:00:00 2001 From: LSJ Date: Sun, 9 Jun 2024 15:51:03 +0900 Subject: [PATCH] positioning modal --- modals/study/StudyAttendCheckModal.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modals/study/StudyAttendCheckModal.tsx b/modals/study/StudyAttendCheckModal.tsx index 0ef3ee5f7..fe03a7c65 100644 --- a/modals/study/StudyAttendCheckModal.tsx +++ b/modals/study/StudyAttendCheckModal.tsx @@ -1,6 +1,5 @@ /* eslint-disable */ -import { Textarea } from "@chakra-ui/react"; import dayjs from "dayjs"; import { useSession } from "next-auth/react"; import { useParams, useSearchParams } from "next/navigation"; @@ -27,6 +26,7 @@ import { getRandomAlphabet } from "../../libs/userEventLibs/collection"; import { myStudyState } from "../../recoils/studyRecoils"; import { transferAlphabetState } from "../../recoils/transferRecoils"; +import Textarea from "../../components/atoms/Textarea"; import { STUDY_ATTEND_MEMBERS } from "../../constants/keys/localStorage"; import { PLACE_TO_LOCATION } from "../../constants/serviceConstants/studyConstants/studyLocationConstants"; import { ModalSubtitle } from "../../styles/layout/modal"; @@ -156,8 +156,8 @@ function StudyAttendCheckModal({ setIsModal }: IStudyAttendCheckModal) { isFull: true, }; - - + const [isFocus, setIsFocus] = useState(false); + return ( <> 도착하셨나요?
@@ -176,7 +177,7 @@ function StudyAttendCheckModal({ setIsModal }: IStudyAttendCheckModal) { placeholder="ex. 입구 오른쪽 계단 아래 초록색 후드티" onChange={(e) => setValue(e.target.value)} value={value} - ref={initialRef} + setIsFocus={setIsFocus} /> ) : (