Skip to content

Commit b0c2b10

Browse files
JoshuaGrossfacebook-github-bot
authored andcommitted
Fix typo in width / height parsing
Summary: Seems like an obvious typo! Whoops! Not causing any known issues, but... this should be fixed. Changelog: [Internal] Reviewed By: genkikondo Differential Revision: D36940476 fbshipit-source-id: d534ca3763b1f91e41c56953bf3d665e86db9e2b
1 parent ea7c9f2 commit b0c2b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactCommon/react/renderer/components/view/propsConversions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ static inline YGStyle::Dimensions convertRawProp(
3535
rawProps,
3636
heightName,
3737
sourceValue[YGDimensionHeight],
38-
defaultValue[YGDimensionWidth]);
38+
defaultValue[YGDimensionHeight]);
3939
return dimensions;
4040
}
4141

0 commit comments

Comments
 (0)