Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Jun 14, 2024
1 parent bdbf4f7 commit 2b4f873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/games/games.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class GamesComponent implements OnInit {
ngOnInit(): void {
this.activatedRoute.queryParams
.subscribe((params: Params) => {
const tgParams = params.tgWebAppStartParam as string;
const tgParams = params["tgWebAppStartParam"] as string;
const gameId = Number(tgParams)
if (!isNaN(gameId)) {
this.router.navigate(['/games/' + gameId]);
Expand Down

0 comments on commit 2b4f873

Please sign in to comment.