mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 09:12:46 +08:00
Remove invalid assertion from RCTUIManager
Reviewed By: javache Differential Revision: D2606613 fb-gh-sync-id: e8d9bcf5d23b720230de4904cab577f097010150
This commit is contained in:
committed by
facebook-github-bot-3
parent
d0371165c3
commit
1efb9dc063
@@ -498,7 +498,6 @@ extern NSString *RCTBridgeModuleNameForClass(Class cls);
|
||||
RCTAssert(view != nil, @"view (for ID %@) not found", reactTag);
|
||||
|
||||
RCTRootView *rootView = (RCTRootView *)[view superview];
|
||||
RCTAssert(rootView != nil, @"View with react tag %@ has not a superview", reactTag);
|
||||
|
||||
rootView.intrinsicSize = contentSize;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user