import { Component, Directive, Input, OnInit } from '@angular/core';
import { TranslateService } from '@ngx-translate/core';

@Component({
    selector: 'knk-notfound',
    styleUrls: ['./notfound.component.scss'],
    templateUrl: './notfound.component.pug'
})
export class NotFoundComponent implements OnInit {
  lang: string;

  constructor(private translateService: TranslateService) {
  }

  ngOnInit(): void {
    this.lang = this.translateService.currentLang || this.translateService.defaultLang;
  }
}
