Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <array>
#include <unordered_map>
#include <string>

#include <glog/logging.h>
#include <react/debug/react_native_expect.h>
Expand Down Expand Up @@ -68,7 +69,7 @@ inline folly::dynamic toDynamic(const YGValue &dimension)
case YGUnitPoint:
return dimension.value;
case YGUnitPercent:
return std::format("{}%", dimension.value);
return std::to_string(dimension.value) + "%";
}

return nullptr;
Expand Down