Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/compatible_with_trouter_1
Browse files Browse the repository at this point in the history
  • Loading branch information
open-hippy authored Sep 1, 2023
2 parents 56f0536 + 8560a25 commit 0419c6b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,9 @@ - (void)didUpdateNativeRenderSubviews {
if (domManager) {
int32_t componentTag = [self.componentTag intValue];
auto node = domManager->GetNode(self.rootNode, componentTag);
node->GetLayoutNode()->MarkDirty();
if (node) {
node->GetLayoutNode()->MarkDirty();
}
}
}

Expand Down

0 comments on commit 0419c6b

Please sign in to comment.