sh_discord_bot/kdb-web/src/app/app.component.ts

22 lines
535 B
TypeScript
Raw Normal View History

2022-10-16 00:13:03 +02:00
import { Component, OnInit } from '@angular/core';
import { AuthService } from './services/auth/auth.service';
import { ThemeService } from './services/theme/theme.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements OnInit {
constructor(
public authService: AuthService,
public themeService: ThemeService,
) { }
ngOnInit(): void {
this.themeService.loadTheme();
this.themeService.loadMenu();
}
}