diff --git a/frontend/src/app/feature/game/blackjack/blackjack.component.ts b/frontend/src/app/feature/game/blackjack/blackjack.component.ts index 621cbf5..6475351 100644 --- a/frontend/src/app/feature/game/blackjack/blackjack.component.ts +++ b/frontend/src/app/feature/game/blackjack/blackjack.component.ts @@ -12,7 +12,7 @@ import { Card, BlackjackGame } from './models/blackjack.model'; import { BlackjackService } from './services/blackjack.service'; import { HttpErrorResponse } from '@angular/common/http'; import { GameResultComponent } from './components/game-result/game-result.component'; -import { GameState } from '../../../enum/gameState'; +import { GameState } from './enum/gameState'; @Component({ selector: 'app-blackjack', diff --git a/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts b/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts index 7572376..19a2349 100644 --- a/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts +++ b/frontend/src/app/feature/game/blackjack/components/game-controls/game-controls.component.ts @@ -1,7 +1,7 @@ import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core'; import { CommonModule } from '@angular/common'; import { Card } from '../../models/blackjack.model'; -import { GameState } from '../../../../../enum/gameState'; +import { GameState } from '../../enum/gameState'; import { GameControlsService } from '../../services/game-controls.service'; @Component({ 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 4b63e59..0044e0d 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,7 +1,7 @@ import { ChangeDetectionStrategy, Component, Input, Output, EventEmitter } from '@angular/core'; import { CommonModule, CurrencyPipe } from '@angular/common'; import { animate, style, transition, trigger } from '@angular/animations'; -import { GameState } from '../../../../../enum/gameState'; +import { GameState } from '../../enum/gameState'; @Component({ selector: 'app-game-result', diff --git a/frontend/src/app/enum/gameState.ts b/frontend/src/app/feature/game/blackjack/enum/gameState.ts similarity index 100% rename from frontend/src/app/enum/gameState.ts rename to frontend/src/app/feature/game/blackjack/enum/gameState.ts diff --git a/frontend/src/app/feature/game/blackjack/services/game-controls.service.ts b/frontend/src/app/feature/game/blackjack/services/game-controls.service.ts index 871756e..fd055c8 100644 --- a/frontend/src/app/feature/game/blackjack/services/game-controls.service.ts +++ b/frontend/src/app/feature/game/blackjack/services/game-controls.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core'; import { Card } from '../models/blackjack.model'; -import { GameState } from '../../../../enum/gameState'; +import { GameState } from '../enum/gameState'; @Injectable({ providedIn: 'root',