diff --git a/packages/react-native/ReactCommon/react/renderer/css/CSSKeywords.h b/packages/react-native/ReactCommon/react/renderer/css/CSSKeywords.h index f2e3b779b3b..0a92769bbd7 100644 --- a/packages/react-native/ReactCommon/react/renderer/css/CSSKeywords.h +++ b/packages/react-native/ReactCommon/react/renderer/css/CSSKeywords.h @@ -250,6 +250,7 @@ constexpr std::optional parseCSSKeyword(std::string_view ident) { if constexpr (detail::hasFixed) { return KeywordT::Fixed; } + break; case fnv1a("flex"): if constexpr (detail::hasFlex) { return KeywordT::Flex; @@ -399,6 +400,7 @@ constexpr std::optional parseCSSKeyword(std::string_view ident) { if constexpr (detail::hasStart) { return KeywordT::Start; } + break; case fnv1a("static"): if constexpr (detail::hasStatic) { return KeywordT::Static;