diff --git a/React/Fabric/RCTSurfacePresenter.mm b/React/Fabric/RCTSurfacePresenter.mm index adc049828ad..17f4491a7c5 100644 --- a/React/Fabric/RCTSurfacePresenter.mm +++ b/React/Fabric/RCTSurfacePresenter.mm @@ -197,7 +197,7 @@ using namespace facebook::react; auto runtimeExecutor = [self _runtimeExecutor]; auto toolbox = SchedulerToolbox{}; - toolbox.contextContainer = _contextContainer; + toolbox.contextContainer = self.contextContainer; toolbox.componentRegistryFactory = componentRegistryFactory; toolbox.runtimeExecutor = runtimeExecutor;