mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Fix spelling of descendant
Summary: Closes https://github.com/facebook/react-native/pull/6915 Differential Revision: D3162465 Pulled By: mkonicek fb-gh-sync-id: e5237474f4ff901451c08bd904b78fabd15ab1dc fbshipit-source-id: e5237474f4ff901451c08bd904b78fabd15ab1dc
This commit is contained in:
parent
f9bd789206
commit
802fdefcd2
@ -1159,7 +1159,7 @@ static void RCTMeasureLayout(RCTShadowView *view,
|
||||
}
|
||||
CGRect result = [view measureLayoutRelativeToAncestor:ancestor];
|
||||
if (CGRectIsNull(result)) {
|
||||
RCTLogError(@"view %@ (tag #%@) is not a decendant of %@ (tag #%@)",
|
||||
RCTLogError(@"view %@ (tag #%@) is not a descendant of %@ (tag #%@)",
|
||||
view, view.reactTag, ancestor, ancestor.reactTag);
|
||||
return;
|
||||
}
|
||||
@ -1231,7 +1231,7 @@ RCT_EXPORT_METHOD(measureViewsInRect:(CGRect)rect
|
||||
^(RCTShadowView *childShadowView, NSUInteger idx, __unused BOOL *stop) {
|
||||
CGRect childLayout = [childShadowView measureLayoutRelativeToAncestor:shadowView];
|
||||
if (CGRectIsNull(childLayout)) {
|
||||
RCTLogError(@"View %@ (tag #%@) is not a decendant of %@ (tag #%@)",
|
||||
RCTLogError(@"View %@ (tag #%@) is not a descendant of %@ (tag #%@)",
|
||||
childShadowView, childShadowView.reactTag, shadowView, shadowView.reactTag);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user