Skip to content

Commit

Permalink
fix: build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinjosethomas committed Dec 11, 2024
1 parent c8a9943 commit 56eb733
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/contexts/PlayControllerContext/PlayControllerContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const PlayControllerContext =
blackClock: 0,
lastMoveTime: 0,
stats: {
lifetimeStats: undefined,
sessionStats: { gamesWon: 0, gamesPlayed: 0 },
lifetime: undefined,
session: { gamesWon: 0, gamesPlayed: 0 },
lastRating: undefined,
rating: 0,
},
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/usePlayController/usePlayController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ export const usePlayController = (
const setCurrentSquare = async (key: string | null) => undefined

const stats: AllStats = {
lifetimeStats: undefined,
sessionStats: { gamesWon: 0, gamesPlayed: 0 },
lifetime: undefined,
session: { gamesWon: 0, gamesPlayed: 0 },
lastRating: undefined,
rating: 0,
}
Expand Down

0 comments on commit 56eb733

Please sign in to comment.