diff --git a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm index a4ceae5fe..86eb152fd 100644 --- a/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm +++ b/iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.mm @@ -50,7 +50,7 @@ static CK::Optional findFlexboxLayoutParams( + (instancetype)newFromRoot:(id)root parentKey:(NSString*)parentKey { - const CKComponentLayout layout = [root mountedLayout]; + const auto layout = [root mountedLayout]; // Check if there is a cached wrapper. if (layout.component) { SKComponentLayoutWrapper* cachedWrapper =