빌드오류 수정

This commit is contained in:
yschoi
2025-07-28 09:25:54 +09:00
parent 6ba78d0923
commit 5b96245e7d
2 changed files with 5 additions and 5 deletions
@@ -334,7 +334,7 @@ const WrStatusPage: React.FC = () => {
});
svg.appendChild(g);
}, []);
}, [handleMarkerClick, regionIdMap]);
useEffect(() => {
const loadSVG = async () => {
@@ -56,7 +56,7 @@ export function SdmInfoRegForm({
}, [initializeCommonData]);
useEffect(() => {
const candidateTitle = form.getValues("candidateTitle");
console.log("candidateTitle ", form.getValues("candidateTitle"));
}, [form.getValues]);
useEffect(() => {
if (useTypesData && useTypesData.length > 0) {
@@ -64,7 +64,7 @@ export function SdmInfoRegForm({
form.setValue("usePurpose", useTypesData[0]?.val?.toString() || "");
}, 500);
}
}, [useTypesData, form.setValue]);
}, [useTypesData, form.setValue, form]);
useEffect(() => {
if (facilityName) {
@@ -72,7 +72,7 @@ export function SdmInfoRegForm({
form.setValue("sdmNm", facilityName);
setKey((prev) => prev + 1);
}
}, [facilityName, form.setValue]);
}, [facilityName, form.setValue, form]);
useEffect(() => {
if (searchParams.get("dmdCoNm")) {
@@ -80,7 +80,7 @@ export function SdmInfoRegForm({
setSdmNmValue(searchParams.get("dmdCoNm") || "");
setKey((prev) => prev + 1);
}
}, [searchParams, form.setValue]);
}, [searchParams, form.setValue, form]);
const searchCandidate = (e: React.MouseEvent) => {
e.preventDefault();