diff --git a/Libraries/YellowBox/UI/YellowBoxListRow.js b/Libraries/YellowBox/UI/YellowBoxListRow.js index d10f11b9034709..f388c5083b117d 100644 --- a/Libraries/YellowBox/UI/YellowBoxListRow.js +++ b/Libraries/YellowBox/UI/YellowBoxListRow.js @@ -38,7 +38,7 @@ class YellowBoxListRow extends React.Component { prevProps.onPress !== nextProps.onPress || prevProps.warnings.length !== nextProps.warnings.length || prevProps.warnings.some( - (prevWarning, index) => prevWarning !== nextProps[index], + (prevWarning, index) => prevWarning !== nextProps.warnings[index], ) ); }