Delete an unused field (#21415)

This commit is contained in:
okmttdhr authored and GitHub committed 2021-06-02 16:24:40 +01:00
1 parent 76f85b3e50
commit a8964649bb
2 files changed
-6

No files matched your search

@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
currentlyRenderingFiber.dependencies = {
lanes: NoLanes,
firstContext: contextItem,
// TODO: This is an old field. Delete it.
responders: null,
};
if (enableLazyContextPropagation) {
currentlyRenderingFiber.flags |= NeedsPropagation;
@@ -644,9 +644,6 @@ export function readContext<T>(context: ReactContext<T>): T {
currentlyRenderingFiber.dependencies = {
lanes: NoLanes,
firstContext: contextItem,
// TODO: This is an old field. Delete it.
responders: null,
};
if (enableLazyContextPropagation) {
currentlyRenderingFiber.flags |= NeedsPropagation;