fix: Prevents mixed server and client code (#10909)

This commit is contained in:
Omar López authored and GitHub committed 2023-08-23 16:25:43 +00:00
1 parent d3acf4160d
commit bc7da563d8
4 files changed
+24 -22

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import superjson from "superjson";
import { CALCOM_VERSION } from "@calcom/lib/constants";
import { getLocaleFromRequest } from "@calcom/lib/i18n";
import { getLocaleFromRequest } from "@calcom/lib/getLocaleFromRequest";
import { createProxySSGHelpers } from "@calcom/trpc/react/ssg";
import { createContext } from "@calcom/trpc/server/createContext";
import { appRouter } from "@calcom/trpc/server/routers/_app";