Fix syntax error in RNSVGImageShadowNode::initialStateData (#2079)

Fix syntax error in RNSVGImageShadowNode::initialStateData
This commit is contained in:
Hampus Sjöberg
2023-07-05 17:42:13 +02:00
committed by GitHub
parent a1090f25a1
commit 50b555cde4

View File

@@ -48,7 +48,7 @@ class JSI_EXPORT RNSVGImageShadowNode final : public ConcreteViewShadowNode<
ShadowNodeFamilyFragment const &familyFragment,
ComponentDescriptor const &componentDescriptor) {
auto imageSource = ImageSource{ImageSource::Type::Invalid};
return {imageSource, {imageSource, nullptr}};
return {imageSource, {imageSource, nullptr, {}}};
}
#pragma mark - LayoutableShadowNode