Skip to content

Commit 98d422e

Browse files
authored
Remove RCTAssertParam from REANodesManager.m (#568)
It's a follow-up of this PR #560 fixing this issue i=on iOS. Calling selectors on nil is not an error, but assertion throws and following #560 we should allow it.
1 parent 2df53e1 commit 98d422e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ios/REANodesManager.m

-2
Original file line numberDiff line numberDiff line change
@@ -406,8 +406,6 @@ - (void)setValueForNodeID:(nonnull NSNumber *)nodeID value:(nonnull NSNumber *)n
406406

407407
REANode *node = _nodes[nodeID];
408408

409-
RCTAssertParam(node);
410-
411409
REAValueNode *valueNode = (REAValueNode *)node;
412410
[valueNode setValue:newValue];
413411
}

0 commit comments

Comments
 (0)