Browse Source

remove unused variables

pull/4956/head
Levent Arman Özak 6 years ago
committed by GitHub
parent
commit
6d6d2e11ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      npm/ng-packs/packages/core/src/lib/states/config.state.ts

11
npm/ng-packs/packages/core/src/lib/states/config.state.ts

@ -232,14 +232,7 @@ export class ConfigState {
} }
@Action(SetEnvironment) @Action(SetEnvironment)
setEnvironment( setEnvironment({ patchState }: StateContext<Config.State>, { environment }: SetEnvironment) {
{ getState, patchState }: StateContext<Config.State>, return patchState({ environment });
{ environment }: SetEnvironment,
) {
const { oAuthConfig } = getState().environment;
return patchState({
environment,
});
} }
} }

Loading…
Cancel
Save