Skip to content

Commit

Permalink
feat: add as Game to invite page for hopefully working vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
agrattan0820 committed Jun 28, 2024
1 parent dee4691 commit 8d98542
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;
runningGame = runningGameQuery.game as Game;
}
}

Expand Down
2 changes: 1 addition & 1 deletion apps/client/src/utils/socket.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { EventFrom } from "xstate";
import { Socket, io } from "socket.io-client";

import { RoomInfo, UserVote } from "@ai/utils/queries";
import type { RoomInfo, UserVote } from "@ai/utils/queries";
import { gameMachine } from "@ai/components/game/game-machine";

export interface ServerToClientEvents {
Expand Down

0 comments on commit 8d98542

Please sign in to comment.