Skip to content

Commit

Permalink
revert console log
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver committed Oct 24, 2018
1 parent 9530e1e commit 1febc09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions projects/example-app/src/app/reducers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export const reducers: ActionReducerMap<State> = {
export function logger(reducer: ActionReducer<State>): ActionReducer<State> {
return (state: State, action: any): any => {
const result = reducer(state, action);
// console.groupCollapsed(action.type);
// console.log('prev state', state);
// console.log('action', action);
// console.log('next state', result);
// console.groupEnd();
console.groupCollapsed(action.type);
console.log('prev state', state);
console.log('action', action);
console.log('next state', result);
console.groupEnd();

return result;
};
Expand Down

0 comments on commit 1febc09

Please sign in to comment.