mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Minor formatting: added space in YGNodeMarkDirty assert message (#1243)
Summary:
Currently `YGNodeMarkDirty()` assert message displayed **without** space between 2 lines:
```
"Only leaf nodes with custom measure functionsshould manually mark themselves as dirty"
^^^^^^^^^^^^^^^
```
This minor PR fixes it :)
X-link: https://github.com/facebook/yoga/pull/1243
Reviewed By: jacdebug
Differential Revision: D44870410
Pulled By: javache
fbshipit-source-id: 58db50106e8e2980ec84c99976f569b94b739d9b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6eebc99742
commit
6f4bfdd3d6
@@ -444,7 +444,7 @@ YOGA_EXPORT void YGNodeMarkDirty(const YGNodeRef node) {
|
||||
YGAssertWithNode(
|
||||
node,
|
||||
node->hasMeasureFunc(),
|
||||
"Only leaf nodes with custom measure functions"
|
||||
"Only leaf nodes with custom measure functions "
|
||||
"should manually mark themselves as dirty");
|
||||
|
||||
node->markDirtyAndPropagate();
|
||||
|
||||
Reference in New Issue
Block a user