From cec6c81f1945d86ff24754487aadf6c4a2b306e7 Mon Sep 17 00:00:00 2001 From: magnus Date: Mon, 23 Dec 2024 14:58:29 +0100 Subject: [PATCH] docs: fix typo in self-host after() details --- docs/01-app/03-building-your-application/10-deploying/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/01-app/03-building-your-application/10-deploying/index.mdx b/docs/01-app/03-building-your-application/10-deploying/index.mdx index 8cce22c13cf30..89d461546695c 100644 --- a/docs/01-app/03-building-your-application/10-deploying/index.mdx +++ b/docs/01-app/03-building-your-application/10-deploying/index.mdx @@ -322,7 +322,7 @@ When `after` is called, Next.js will access `waitUntil` like this: ```jsx const RequestContext = globalThis[Symbol.for('@next/request-context')] const contextValue = RequestContext?.get() -const waitUntil = context?.waitUntil +const waitUntil = contextValue?.waitUntil ``` Which means that `globalThis[Symbol.for('@next/request-context')]` is expected to contain an object like this: