Skip to content
Snippets Groups Projects
Commit c0d71f1d authored by François Agneray's avatar François Agneray
Browse files

Meta reducer debug only for dev

parent 51254aaf
No related branches found
No related tags found
1 merge request!29Develop
Pipeline #6163 passed
Pipeline: anis-next

#6166

    Pipeline: anis-next

    #6165

      Pipeline: anis-next

      #6164

        ......@@ -10,6 +10,8 @@
        import { ActionReducerMap, ActionReducer, MetaReducer } from '@ngrx/store';
        import { RouterReducerState, routerReducer } from '@ngrx/router-store';
        import { environment } from 'src/environments/environment';
        export interface State {
        router: RouterReducerState;
        }
        ......@@ -31,5 +33,7 @@ export function debug(reducer: ActionReducer<any>): ActionReducer<any> {
        return nextState;
        };
        }
        export const metaReducers: MetaReducer<any>[] = [debug];
        export const metaReducers: MetaReducer<any>[] = !environment.production
        ? [debug]
        : [];
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment