diff --git a/apps/client/src/utils/server-actions.ts b/apps/client/src/utils/server-actions.ts index ade9a4c..5a63eb3 100644 --- a/apps/client/src/utils/server-actions.ts +++ b/apps/client/src/utils/server-actions.ts @@ -1,3 +1,4 @@ +import "server-only"; import type { Session } from "next-auth"; import { db, games, usersToRooms, usersToGames, rooms } from "database"; import { sql, eq, and, isNull, desc, gt } from "drizzle-orm";