diff --git a/src/app/(afterLogin)/_components/infoChangeScreen/infoChangeModal.tsx b/src/app/(afterLogin)/_components/infoChangeScreen/infoChangeModal.tsx index ffad936..5f5c146 100644 --- a/src/app/(afterLogin)/_components/infoChangeScreen/infoChangeModal.tsx +++ b/src/app/(afterLogin)/_components/infoChangeScreen/infoChangeModal.tsx @@ -1,14 +1,17 @@ +"use client"; + import CloseIcon from "@/assets/Close.svg"; import SelectSection from "./selectSection"; +import { useModalStore } from "@/store/modalStore"; -export default function InfoChangeModal({ - setIsModal, -}: { - isModal: boolean; - setIsModal: (value: boolean) => void; -}) { +export default function InfoChangeModal() { + const { isModal, setIsModal } = useModalStore(); return ( -
|
+ |
+
+ 문서명 |
+
+ Version |
+
+ 올리기 |
+
+ 회사명 |
+ 최종수정날짜 | +
|---|---|---|---|---|---|
| + | + + | +
+ |
+
+ |
+
+
+ {doc.applicationForms.length === 0 ? (
+
+ 아직 연동된 회사가 없습니다.
+
+ ) : (
+ doc.applicationForms.map((history) => (
+
+ |
+
+ + {formatDate(new Date(doc.lastModifiedDate), "yyyy.MM.dd")} + | +
| + | + setNewDocumentTitle(e.target.value)} + onBlur={handleBlur} + placeholder="새 문서명을 입력하세요" + className="w-full p-2 rounded-md text-center" + /> + | +
+ |
+
+ |
+ + | + + {documents.length > 0 && ( + + )} + | +
| + + | ++ | + | + | + | + |
|
- |
-
- 문서명 |
-
- Version |
-
- 올리기 |
-
- 회사명 |
- 최종수정날짜 | -
|---|---|---|---|---|---|
| - | - - | -
- |
-
- |
-
-
- {doc.applicationForms.length === 0 ? (
-
- 아직 연동된 회사가 없습니다.
-
- ) : (
- doc.applicationForms.map((history) => (
-
- |
-
- - {formatDate(new Date(doc.lastModifiedDate), "yyyy.MM.dd")} - | -
| - | - setNewDocumentTitle(e.target.value)} - onBlur={handleBlur} - placeholder="새 문서명을 입력하세요" - className="w-full p-2 rounded-md text-center" - /> - | -
- |
-
- |
- - | - - {documents.length > 0 && ( - - )} - | -
| - - | -- | - | - | - | - |