diff --git a/apps/sn/app/components/lib/common/date.ts b/apps/sn/app/components/lib/utils/date.ts similarity index 100% rename from apps/sn/app/components/lib/common/date.ts rename to apps/sn/app/components/lib/utils/date.ts diff --git a/apps/sn/app/components/lib/utils/index.tsx b/apps/sn/app/components/lib/utils/index.tsx index 9cbcba6bb..0b9999c87 100644 --- a/apps/sn/app/components/lib/utils/index.tsx +++ b/apps/sn/app/components/lib/utils/index.tsx @@ -1,3 +1,4 @@ export { getCookie, setCookie, removeCookie } from "./cookie"; export { handleUpload } from "./fileUploadUtil"; export * from "./fileDownload"; +export * from './date' diff --git a/apps/sn/app/oper/floodPre/page.tsx b/apps/sn/app/oper/floodPre/page.tsx index 84ccfa743..08286aacf 100644 --- a/apps/sn/app/oper/floodPre/page.tsx +++ b/apps/sn/app/oper/floodPre/page.tsx @@ -10,7 +10,7 @@ import { searchData } from '@/components/lib/common/apiHelpers' import { tableHeadlist } from '..' import { handleDownload } from '@/components/lib/utils/fileDownload' import { handleUpload } from '@/components/lib/utils/fileUploadUtil' -import { formatDate } from '@/components/lib/common/date' +import { formatDate } from '@/components/lib/utils/date' const Page = () => { const [fromDate, setFromDate] = useState(new Date()) diff --git a/apps/sn/app/oper/oldPp/page.tsx b/apps/sn/app/oper/oldPp/page.tsx index 4f91d5121..227521dee 100644 --- a/apps/sn/app/oper/oldPp/page.tsx +++ b/apps/sn/app/oper/oldPp/page.tsx @@ -8,7 +8,7 @@ import ContentLayout from '@/components/ui/contentLayout' import { tableHeadlist } from '..' import { handleDownload } from '@/components/lib/utils/fileDownload' import { searchData } from '@/components/lib/common/apiHelpers' -import { formatDate } from '@/components/lib/common/date' +import { formatDate } from '@/components/lib/utils/date' // TODO: 임시 id export const tableData = [{ 'no': '1', 'fileNm': '2023년 노후하수관로 정비사업', 'mngYr': '2023', 'mngQu': '1', 'registDt': '2023-10-01', 'registUsr': '홍길동' },]