Remove redundant warnings for RCTMountingManager

Summary:
Changelog: [internal]

The warnings are in-actionable for product engineers.

Reviewed By: JoshuaGross

Differential Revision: D29911438

fbshipit-source-id: f0f81588e8cbe88059e531c8be302ab19b8eb83f
This commit is contained in:
Samuel Susla
2021-07-27 12:25:31 -07:00
committed by Facebook GitHub Bot
parent eb4297ee91
commit c2ba8864f9
@@ -290,11 +290,9 @@ static void RCTPerformMountInstructions(
if (props[@"transform"] &&
!CATransform3DEqualToTransform(
RCTCATransform3DFromTransformMatrix(newViewProps.transform), componentView.layer.transform)) {
RCTLogWarn(@"transform was not applied during [RCTViewComponentView updateProps:oldProps:]");
componentView.layer.transform = RCTCATransform3DFromTransformMatrix(newViewProps.transform);
}
if (props[@"opacity"] && componentView.layer.opacity != (float)newViewProps.opacity) {
RCTLogWarn(@"opacity was not applied during [RCTViewComponentView updateProps:oldProps:]");
componentView.layer.opacity = newViewProps.opacity;
}
}