수정
This commit is contained in:
@@ -75,11 +75,6 @@ export const SettingPage = () => {
|
|||||||
...alarmSetting,
|
...alarmSetting,
|
||||||
...{ ['' + alarmCode]: value }
|
...{ ['' + alarmCode]: value }
|
||||||
});
|
});
|
||||||
}).catch((e: any) => {
|
|
||||||
setAlarmSetting({
|
|
||||||
...alarmSetting,
|
|
||||||
...{ ['' + alarmCode]: !value }
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user