remove: updateRainDetail, setUpdateRSwtDetail 초기화 로직 삭제 (중복)
This commit is contained in:
@@ -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("수정을 원하는 행을 선택하고 저장버튼을 눌러주세요 ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user