import { Component, OnInit } from '@angular/core';
import {Select} from "@ngxs/store";
import {AppState, Identity} from "../../state/app.state";
import {Observable} from "rxjs";

@Component({
  selector: 'app-secured-layout',
  templateUrl: './secured-layout.component.html',
  styleUrls: ['./secured-layout.component.scss']
})
export class SecuredLayoutComponent implements OnInit {
  @Select(AppState.getUser) public user: Observable<Identity>;

  constructor() { }

  ngOnInit(): void {
  }

}
