Skip to content

Commit

Permalink
fix: margin auto conversion in fabric
Browse files Browse the repository at this point in the history
  • Loading branch information
intergalacticspacehighway committed Dec 14, 2022
1 parent 65e0f79 commit 2a15f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactCommon/react/renderer/components/view/conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ inline void fromRawValue(
} else if (value.hasType<std::string>()) {
const auto stringValue = (std::string)value;
if (stringValue == "auto") {
result = YGValueUndefined;
result = YGValueAuto;
return;
} else {
if (stringValue.back() == '%') {
Expand Down

0 comments on commit 2a15f91

Please sign in to comment.