Skip to content

Commit

Permalink
Update errors/next-request-in-use-cache.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hendrik Liebau <[email protected]>
  • Loading branch information
sebmarkbage and unstubbable authored Sep 30, 2024
1 parent f51b47d commit c4db2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/next-request-in-use-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Cannot access cookies() or headers() in "use cache"

#### Why This Error Occurred

An function is trying to read from the current incoming request inside the scope of a function annotated with `"use cache"`. This is not supported because it would make the cache invalidated by every request which is probably not what you intended.
A function is trying to read from the current incoming request inside the scope of a function annotated with `"use cache"`. This is not supported because it would make the cache invalidated by every request which is probably not what you intended.

#### Possible Ways to Fix It

Expand Down

0 comments on commit c4db2af

Please sign in to comment.