Commit 0019708
committed
revert: drop the CMSContent connection() guard.
connection() is illegal inside a `'use cache'` scope, and CMSContent renders
inside the `'use cache'` tenant page (a Suspense child of a cached page is still
part of the cache entry, not a dynamic hole) — so the guard traded the
next-prerender-current-time error for next-request-in-use-cache. Reverting to
the prior state while the prerender hazard is fixed at the right layer.1 parent bfe9bd1 commit 0019708
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 31 | | |
40 | 32 | | |
41 | 33 | | |
| |||
0 commit comments