fix(deps): update nextjs monorepo to v15 (major) (#1844)
This commit is contained in:
1 parent
92f4f9421e
commit
d98552540a
51 files changed
+601
-314
No files matched your search
@@ -9,7 +9,7 @@ import { auth } from "@homarr/auth/next";
|
||||
* handling a tRPC call from a React Server Component.
|
||||
*/
|
||||
const createContext = cache(async () => {
|
||||
const heads = new Headers(headers());
|
||||
const heads = new Headers(await headers());
|
||||
heads.set("x-trpc-source", "rsc");
|
||||
|
||||
return createTRPCContext({
|
||||
|
||||
Reference in new issue
Block a user