dev env setup
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Component, signal } from '@angular/core';
|
||||
import { Component, inject, signal } from '@angular/core';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { RouterModule, RouterOutlet } from '@angular/router';
|
||||
import { Authentication } from './services/authentication';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -9,10 +10,6 @@ import { RouterModule, RouterOutlet } from '@angular/router';
|
||||
styleUrl: './app.scss',
|
||||
})
|
||||
export class App {
|
||||
protected loggedIn = signal(false);
|
||||
protected readonly title = signal('frontend');
|
||||
|
||||
protected onLogOut() {
|
||||
this.loggedIn.set(false);
|
||||
}
|
||||
protected readonly auth = inject(Authentication);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user