mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Removing unnecessary assert in RCTParagraphComponentView
Summary: This is strange why it's happening but it's not a reason to crash here. We will migrate the text component to State anyway, so we will fix the problem then. Reviewed By: JoshuaGross Differential Revision: D15951391 fbshipit-source-id: c1d1217fab1180f1eef84dfc2b2fd1ed0864b035
This commit is contained in:
committed by
Facebook Github Bot
parent
1d0b397485
commit
173a5cc222
@@ -66,7 +66,6 @@ using namespace facebook::react;
|
||||
- (void)updateLocalData:(SharedLocalData)localData oldLocalData:(SharedLocalData)oldLocalData
|
||||
{
|
||||
_paragraphLocalData = std::static_pointer_cast<const ParagraphLocalData>(localData);
|
||||
assert(_paragraphLocalData);
|
||||
[self setNeedsDisplay];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user