src/platform/monitoring/DowntimeNotification/reducer/index.js
Function scheduledDowntime
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function scheduledDowntime(state = initialState, action) {
switch (action.type) {
case RECEIVE_GLOBAL_DOWNTIME:
return {
...state,