dm_new: eslint 설정 수정

This commit is contained in:
2026-02-26 12:57:03 +09:00
parent 55aaee8983
commit a85fb848f7
3 changed files with 12 additions and 3 deletions
@@ -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 (
<Suspense fallback={<div>Loading...</div>}>
<DemandRegisterPageContent />
</Suspense>
);
}
/* ----------------------------- UI helpers ----------------------------- */
function Divider() {
+1
View File
@@ -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" } : {}),
}},
];
+1 -1
View File
@@ -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";