빌드오류 수정
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user