From 3f00a5b359378e912d1ed65cb89045f9e4500cdf Mon Sep 17 00:00:00 2001 From: Phan Huy Tran Date: Wed, 7 May 2025 14:00:39 +0200 Subject: [PATCH] style: fix linter issues --- .../game-result/game-result.component.ts | 2 +- .../components/navbar/navbar.component.ts | 20 ++++++------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/frontend/src/app/feature/game/blackjack/components/game-result/game-result.component.ts b/frontend/src/app/feature/game/blackjack/components/game-result/game-result.component.ts index 06f2d3a..1aab1a4 100644 --- a/frontend/src/app/feature/game/blackjack/components/game-result/game-result.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/game-result/game-result.component.ts @@ -1,5 +1,5 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; -import { CommonModule, CurrencyPipe } from '@angular/common'; +import { CommonModule } from '@angular/common'; import { animate, style, transition, trigger } from '@angular/animations'; import { GameState } from '../../enum/gameState'; import { AnimatedNumberComponent } from '../animated-number/animated-number.component'; diff --git a/frontend/src/app/shared/components/navbar/navbar.component.ts b/frontend/src/app/shared/components/navbar/navbar.component.ts index b414092..04bf38f 100644 --- a/frontend/src/app/shared/components/navbar/navbar.component.ts +++ b/frontend/src/app/shared/components/navbar/navbar.component.ts @@ -1,17 +1,9 @@ -import { - ChangeDetectionStrategy, - Component, - inject, - OnDestroy, - OnInit, - signal, -} from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { AuthService } from '../../../service/auth.service'; -import { CurrencyPipe } from '@angular/common'; -import { UserService } from '@service/user.service'; -import { Subscription } from 'rxjs'; -import { AnimatedNumberComponent } from '@blackjack/components/animated-number/animated-number.component'; +import {ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit, signal,} from '@angular/core'; +import {RouterModule} from '@angular/router'; +import {AuthService} from '../../../service/auth.service'; +import {UserService} from '@service/user.service'; +import {Subscription} from 'rxjs'; +import {AnimatedNumberComponent} from '@blackjack/components/animated-number/animated-number.component'; @Component({ selector: 'app-navbar',