From 440cf330433a3b16011326fde71c1bef9131e843 Mon Sep 17 00:00:00 2001 From: GameDog9988 Date: Fri, 28 Jun 2024 15:53:05 -0400 Subject: [PATCH] refactor: add back in server-only --- apps/client/src/utils/server-actions.ts | 1 + 1 file changed, 1 insertion(+) 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";