From a85fb848f782586dfcc41a9949ac18b81cbdd93e Mon Sep 17 00:00:00 2001 From: ljpark Date: Thu, 26 Feb 2026 12:57:03 +0900 Subject: [PATCH] =?UTF-8?q?dm=5Fnew:=20eslint=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dm_new/app/(with-layout)/apply/register/page.tsx | 12 ++++++++++-- apps/dm_new/eslint.config.mjs | 1 + apps/dm_new/next.config.ts | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/apps/dm_new/app/(with-layout)/apply/register/page.tsx b/apps/dm_new/app/(with-layout)/apply/register/page.tsx index 2269ecb54..c37912b97 100644 --- a/apps/dm_new/app/(with-layout)/apply/register/page.tsx +++ b/apps/dm_new/app/(with-layout)/apply/register/page.tsx @@ -8,7 +8,7 @@ */ "use client"; -import { useEffect, useMemo, useRef, useState } from "react"; +import { Suspense, useEffect, useMemo, useRef, useState } from "react"; import { useRouter, useSearchParams } from "next/navigation"; import { useDmStore } from "@/app/store"; import type { DemandCompBizType } from "@/app/store/sdmMng"; @@ -72,7 +72,7 @@ const getSessionUser = (): SessionUser | null => { } }; -export default function DemandRegisterPage() { +function DemandRegisterPageContent() { const router = useRouter(); const searchParams = useSearchParams(); const { insertSdmInfoData, Sdm } = useDmStore((state) => state); @@ -558,6 +558,14 @@ export default function DemandRegisterPage() { ); } +export default function DemandRegisterPage() { + return ( + Loading...}> + + + ); +} + /* ----------------------------- UI helpers ----------------------------- */ function Divider() { diff --git a/apps/dm_new/eslint.config.mjs b/apps/dm_new/eslint.config.mjs index f5e14ab2c..9201e16dd 100644 --- a/apps/dm_new/eslint.config.mjs +++ b/apps/dm_new/eslint.config.mjs @@ -24,6 +24,7 @@ const eslintConfig = [ {rules:{ // other rules.. "@typescript-eslint/no-explicit-any": "off", + "@next/next/no-img-element": "off", ...(isProd ? { "react-hooks/exhaustive-deps": "off" } : {}), }}, ]; diff --git a/apps/dm_new/next.config.ts b/apps/dm_new/next.config.ts index ce442e1de..5b5bf85da 100644 --- a/apps/dm_new/next.config.ts +++ b/apps/dm_new/next.config.ts @@ -1,5 +1,5 @@ import type { NextConfig } from "next"; -import path from "path"; +// import path from "path"; const subDomain = process.env.NEXT_PUBLIC_PROXY_HOST || "http://localhost:3000";