minor refactoring, rename AcaState to AppStore

rename main store to a more traditional name
This commit is contained in:
Denys Vuika
2018-06-09 08:11:45 +01:00
parent 1ac85c0149
commit c6cae392e2
12 changed files with 24 additions and 24 deletions

View File

@@ -26,7 +26,7 @@
import { Component, Output, EventEmitter, ViewEncapsulation } from '@angular/core';
import { Store } from '@ngrx/store';
import { Observable } from 'rxjs/Rx';
import { AcaState } from '../../store/states/app.state';
import { AppStore } from '../../store/states/app.state';
import { selectHeaderColor, selectAppName, selectLogoPath } from '../../store/selectors/app.selectors';
@Component({
@@ -42,7 +42,7 @@ export class HeaderComponent {
headerColor$: Observable<string>;
logo$: Observable<string>;
constructor(store: Store<AcaState>) {
constructor(store: Store<AppStore>) {
this.headerColor$ = store.select(selectHeaderColor);
this.appName$ = store.select(selectAppName);
this.logo$ = store.select(selectLogoPath);