diff --git a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.cpp b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.cpp index 715a1d2798b8a2..2dfd5dd6bdf94a 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.cpp +++ b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.cpp @@ -16,7 +16,7 @@ TextMeasurement ParagraphLayoutManager::measure( const ParagraphAttributes& paragraphAttributes, LayoutConstraints layoutConstraints) const { if (CoreFeatures::cacheLastTextMeasurement) { - bool shouldMeasure = shoudMeasureString( + bool shouldMeasure = shouldMeasureString( attributedString, paragraphAttributes, layoutConstraints); if (shouldMeasure) { @@ -38,7 +38,7 @@ TextMeasurement ParagraphLayoutManager::measure( } } -bool ParagraphLayoutManager::shoudMeasureString( +bool ParagraphLayoutManager::shouldMeasureString( const AttributedString& attributedString, const ParagraphAttributes& paragraphAttributes, LayoutConstraints layoutConstraints) const { diff --git a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.h b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.h index 475b16791d54a6..5ce955820e55b5 100644 --- a/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.h +++ b/packages/react-native/ReactCommon/react/renderer/components/text/ParagraphLayoutManager.h @@ -84,7 +84,7 @@ class ParagraphLayoutManager { * text measurement result. Returns true if inputs have changed and measure is * needed. */ - bool shoudMeasureString( + bool shouldMeasureString( const AttributedString& attributedString, const ParagraphAttributes& paragraphAttributes, LayoutConstraints layoutConstraints) const;