We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 278499d commit b6bbe30Copy full SHA for b6bbe30
packages/react-server/src/ReactFlightNewContext.js
@@ -230,7 +230,7 @@ export function pushProvider<T: ServerContextJSONValue>(
230
return newNode;
231
}
232
233
-export function popProvider<T: ServerContextJSONValue>(): ContextSnapshot {
+export function popProvider(): ContextSnapshot {
234
const prevSnapshot = currentActiveSnapshot;
235
236
if (prevSnapshot === null) {
packages/react-server/src/ReactFlightServer.js
@@ -55,7 +55,6 @@ import {
55
REACT_LAZY_TYPE,
56
REACT_MEMO_TYPE,
57
REACT_PROVIDER_TYPE,
58
- REACT_SERVER_CONTEXT_TYPE,
59
} from 'shared/ReactSymbols';
60
61
import {getOrCreateServerContext} from 'shared/ReactServerContextRegistry';
0 commit comments