diff --git a/src/app/game/game-multiplayer/services/pairing.service.ts b/src/app/game/game-multiplayer/services/pairing.service.ts index 9bfaf809..52700584 100644 --- a/src/app/game/game-multiplayer/services/pairing.service.ts +++ b/src/app/game/game-multiplayer/services/pairing.service.ts @@ -9,7 +9,8 @@ export class PairingService { constructor() { const id = localStorage.getItem('pairID'); - id ? this.setPairID(id) : this.setPairID(environment.PAIR_ID ?? ''); + + this.setPairID(id ?? environment.PAIR_ID ?? ''); } getPairID() { diff --git a/src/app/welcome/welcome.component.html b/src/app/welcome/welcome.component.html index 1e43b685..04d431db 100644 --- a/src/app/welcome/welcome.component.html +++ b/src/app/welcome/welcome.component.html @@ -1,14 +1,8 @@