packages/core/src/contexts/undoableQueue/index.tsx
Function undoableQueueReducer
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const undoableQueueReducer = (state: IUndoableQueue[], action: any) => {
switch (action.type) {
case ActionTypes.ADD: {
const newState = state.filter((notificationItem: IUndoableQueue) => {
return !(