Skip to content

Commit 4738b21

Browse files
committed
fix: #196 solving issues with state adding a default case
1 parent af5fb02 commit 4738b21

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/app/modules/activities-management/store/activity-management.reducers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,5 +133,9 @@ export function activityManagementReducer(state: ActivityState = initialState, a
133133
};
134134
}
135135

136+
default : {
137+
return state;
138+
}
139+
136140
}
137141
}

src/app/modules/time-clock/store/entry.reducer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,9 @@ export const entryReducer = (state: EntryState = initialState, action: EntryActi
113113
message: 'An unexpected error happened, try again later',
114114
};
115115
}
116+
117+
default : {
118+
return state;
119+
}
116120
}
117121
};

0 commit comments

Comments
 (0)