Skip to content

Commit

Permalink
revert: remove as Game since we reverted TypeScript version
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Jun 28, 2024
1 parent 409d2ce commit 64e3b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/client/src/app/invite/[code]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function Invite({ params }: { params: { code: string } }) {
const runningGameQuery = await getRunningGame({ session });

if (runningGameQuery) {
runningGame = runningGameQuery.game as Game;
runningGame = runningGameQuery.game;
}
}

Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function Home() {
const runningGameQuery = await getRunningGame({ session });

if (runningGameQuery) {
runningGame = runningGameQuery.game as Game;
runningGame = runningGameQuery.game;
}
}

Expand Down

0 comments on commit 64e3b0e

Please sign in to comment.