Delete an unused field (#21415)

This commit is contained in:
okmttdhr
2021-06-02 16:24:40 +01:00
committed by GitHub
parent 76f85b3e50
commit a8964649bb
2 changed files with 0 additions and 6 deletions
@@ -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;