Unverified Commit 6543d0b3 authored by sommeeeR's avatar sommeeeR Committed by GitHub

docs: fix typo in self-host after() details (#74243)

fix typo
Co-authored-by: 's avatarZack Tanner <1939140+ztanner@users.noreply.github.com>
parent 18be41b3
...@@ -322,7 +322,7 @@ When `after` is called, Next.js will access `waitUntil` like this: ...@@ -322,7 +322,7 @@ When `after` is called, Next.js will access `waitUntil` like this:
```jsx ```jsx
const RequestContext = globalThis[Symbol.for('@next/request-context')] const RequestContext = globalThis[Symbol.for('@next/request-context')]
const contextValue = RequestContext?.get() 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: Which means that `globalThis[Symbol.for('@next/request-context')]` is expected to contain an object like this:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment