diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index aa232ac..30666e9 100644 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -12,5 +12,4 @@ import { FooterComponent } from '@shared/components/footer/footer.component'; styleUrl: './app.component.css', changeDetection: ChangeDetectionStrategy.OnPush, }) -export class AppComponent { -} +export class AppComponent {} diff --git a/frontend/src/app/feature/auth/login/login.component.html b/frontend/src/app/feature/auth/login/login.component.html index fc4d591..c41002d 100644 --- a/frontend/src/app/feature/auth/login/login.component.html +++ b/frontend/src/app/feature/auth/login/login.component.html @@ -65,7 +65,10 @@

Noch kein Konto? - + Registrieren

diff --git a/frontend/src/app/feature/auth/register/register.component.html b/frontend/src/app/feature/auth/register/register.component.html index a435829..3dbeeb7 100644 --- a/frontend/src/app/feature/auth/register/register.component.html +++ b/frontend/src/app/feature/auth/register/register.component.html @@ -31,7 +31,9 @@
- +
- +

Bereits ein Konto? - + Anmelden

diff --git a/frontend/src/app/feature/landing/landing.component.html b/frontend/src/app/feature/landing/landing.component.html index 7e8539e..1e5627d 100644 --- a/frontend/src/app/feature/landing/landing.component.html +++ b/frontend/src/app/feature/landing/landing.component.html @@ -12,7 +12,10 @@
@if (authService.isLoggedIn()) { - + Spiele } @else { diff --git a/frontend/src/app/feature/transaction-history/transaction-history.component.ts b/frontend/src/app/feature/transaction-history/transaction-history.component.ts index dabc255..338ef4e 100644 --- a/frontend/src/app/feature/transaction-history/transaction-history.component.ts +++ b/frontend/src/app/feature/transaction-history/transaction-history.component.ts @@ -1,4 +1,11 @@ -import { ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output } from '@angular/core'; +import { + ChangeDetectionStrategy, + Component, + EventEmitter, + inject, + Input, + Output, +} from '@angular/core'; import { TransactionService } from '@service/transaction.service'; import { Observable } from 'rxjs'; import { AsyncPipe, CurrencyPipe, DatePipe, NgIf } from '@angular/common'; diff --git a/frontend/src/app/service/user.service.ts b/frontend/src/app/service/user.service.ts index 7530f79..d7199b3 100644 --- a/frontend/src/app/service/user.service.ts +++ b/frontend/src/app/service/user.service.ts @@ -13,7 +13,6 @@ export class UserService { private http: HttpClient = inject(HttpClient); private authService = inject(AuthService); - public getCurrentUser(): Observable { return this.http.get('/backend/users/me').pipe( catchError(() => EMPTY), diff --git a/frontend/src/app/shared/components/navbar/navbar.component.ts b/frontend/src/app/shared/components/navbar/navbar.component.ts index c57a8a5..494b61f 100644 --- a/frontend/src/app/shared/components/navbar/navbar.component.ts +++ b/frontend/src/app/shared/components/navbar/navbar.component.ts @@ -1,4 +1,11 @@ -import { ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit, signal } from '@angular/core'; +import { + ChangeDetectionStrategy, + Component, + inject, + OnDestroy, + OnInit, + signal, +} from '@angular/core'; import { RouterModule } from '@angular/router'; import { AuthService } from '@service/auth.service'; import { Subscription } from 'rxjs';