From 6543d0b3498340f7a53ee170fc4659ea84ce9a77 Mon Sep 17 00:00:00 2001 From: sommeeeR <91796856+sommeeeer@users.noreply.github.com> Date: Mon, 23 Dec 2024 21:09:26 +0100 Subject: [PATCH] docs: fix typo in self-host after() details (#74243) fix typo Co-authored-by: Zack Tanner <1939140+ztanner@users.noreply.github.com> --- 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: