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:
Valentin Shergin
2019-06-21 16:04:50 -07:00
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];
}