From faed554108c0e77d3aa02d132d18e271d26bb234 Mon Sep 17 00:00:00 2001 From: swcho Date: Thu, 26 Jun 2025 11:35:05 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20inflChart.tsx=20button=20=EC=A4=91?= =?UTF-8?q?=EC=B2=A9=20=EC=97=90=EB=9F=AC=20=EB=B0=8F=20aria-describtion?= =?UTF-8?q?=20=EB=88=84=EB=9D=BD=20warning=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../(map-layout)/map/components/common/index.ts | 4 +++- apps/sn/app/components/ui/modal.tsx | 17 ++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/components/common/index.ts b/apps/sn/app/(map-layout)/map/components/common/index.ts index e5273180b..a17d2a0a8 100644 --- a/apps/sn/app/(map-layout)/map/components/common/index.ts +++ b/apps/sn/app/(map-layout)/map/components/common/index.ts @@ -21,6 +21,8 @@ type LayerContentMap = { const layerContentMap: LayerContentMap = { // TODO: gis데이터 추가되면 추가 작업 필요 "하수처리시설": { component: SwtrmtFclt, }, + // 하수관로 개발용 + // "하수처리시설": { component: MsSwagePpl, }, "하수처리구역": {}, "우수토실": { component: Ssc, }, "중점우수토실": { component: Ssc, }, // 중점우수토실 여부 설정 @@ -59,4 +61,4 @@ export const handleInputChange = (section: string, updated[index][field as keyof typeof updated[number]] = value; } target.setData(updated); -}; \ No newline at end of file +}; \ No newline at end of file diff --git a/apps/sn/app/components/ui/modal.tsx b/apps/sn/app/components/ui/modal.tsx index b5421ecf3..afc2b5c9a 100644 --- a/apps/sn/app/components/ui/modal.tsx +++ b/apps/sn/app/components/ui/modal.tsx @@ -1,4 +1,4 @@ -import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DialogClose, DialogOverlay } from '@common/components/ui' +import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DialogOverlay } from '@common/components/ui' import React from 'react' interface ModalProps { @@ -7,25 +7,24 @@ interface ModalProps { title?: string; children: React.ReactNode; closeModal: () => void; - saveModal?: () => void + saveModal?: () => void; + description?: string; } const Modal: React.FC = ({ isModalOpen, setIsModalOpen, title, children, closeModal, saveModal }) => { return ( - + {title ? {title} : null} {children} - -
- {saveModal ? : null} - -
-
+
+ {saveModal ? : null} + +