Skip to content

Commit

Permalink
Check latest game from api
Browse files Browse the repository at this point in the history
  • Loading branch information
itsadeadh2 committed Jul 15, 2024
1 parent 7c81571 commit 15ca29a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/terminal/programs/hangman/state_handlers/idle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export default class IdleHandler extends StateHandler {
}

private checkExistingGame = async () => {
const gameId = localStorage.getItem('hangmanCurrentGameId')
try {
const games = await this.api.retrieveInProgressGames();
if (games.length < 1) {
Expand Down

0 comments on commit 15ca29a

Please sign in to comment.