Skip to content

Commit 802fdef

Browse files
ianlinFacebook Github Bot 9
authored and
Facebook Github Bot 9
committed
Fix spelling of descendant
Summary: Closes facebook#6915 Differential Revision: D3162465 Pulled By: mkonicek fb-gh-sync-id: e5237474f4ff901451c08bd904b78fabd15ab1dc fbshipit-source-id: e5237474f4ff901451c08bd904b78fabd15ab1dc
1 parent f9bd789 commit 802fdef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

React/Modules/RCTUIManager.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ static void RCTMeasureLayout(RCTShadowView *view,
11591159
}
11601160
CGRect result = [view measureLayoutRelativeToAncestor:ancestor];
11611161
if (CGRectIsNull(result)) {
1162-
RCTLogError(@"view %@ (tag #%@) is not a decendant of %@ (tag #%@)",
1162+
RCTLogError(@"view %@ (tag #%@) is not a descendant of %@ (tag #%@)",
11631163
view, view.reactTag, ancestor, ancestor.reactTag);
11641164
return;
11651165
}
@@ -1231,7 +1231,7 @@ static void RCTMeasureLayout(RCTShadowView *view,
12311231
^(RCTShadowView *childShadowView, NSUInteger idx, __unused BOOL *stop) {
12321232
CGRect childLayout = [childShadowView measureLayoutRelativeToAncestor:shadowView];
12331233
if (CGRectIsNull(childLayout)) {
1234-
RCTLogError(@"View %@ (tag #%@) is not a decendant of %@ (tag #%@)",
1234+
RCTLogError(@"View %@ (tag #%@) is not a descendant of %@ (tag #%@)",
12351235
childShadowView, childShadowView.reactTag, shadowView, shadowView.reactTag);
12361236
return;
12371237
}

0 commit comments

Comments
 (0)