remove: updateRainDetail, setUpdateRSwtDetail 초기화 로직 삭제 (중복)

This commit is contained in:
swcho
2025-09-22 17:26:49 +09:00
parent 536f07a13f
commit 0a2284138c
@@ -255,14 +255,12 @@ export default function Page() {
if (selFcltDiv === "RNB") {
if (updateRainDetail && updateRainDetail.length > 0) {
rainChkDetilUpdate(updateRainDetail, searchYear);
setUpdateRainDetail([])
} else {
toast.error("수정을 원하는 행을 선택하고 저장버튼을 눌러주세요 ");
}
} else {
if (updateRswtDetail && updateRswtDetail.length > 0) {
rswtChkDetilsUpdate(updateRswtDetail, searchYear);
setUpdateRSwtDetail([])
} else {
toast.error("수정을 원하는 행을 선택하고 저장버튼을 눌러주세요 ");
}