diff --git a/Libraries/Components/Touchable/TouchableOpacity.js b/Libraries/Components/Touchable/TouchableOpacity.js index 2aef4e824f10a5..cc18e8ecd0db23 100644 --- a/Libraries/Components/Touchable/TouchableOpacity.js +++ b/Libraries/Components/Touchable/TouchableOpacity.js @@ -301,9 +301,8 @@ class TouchableOpacity extends React.Component { this.state.pressability.configure(this._createPressabilityConfig()); if ( this.props.disabled !== prevProps.disabled || - (flattenStyle(prevProps.style)?.opacity !== - flattenStyle(this.props.style)?.opacity) !== - undefined + flattenStyle(prevProps.style)?.opacity !== + flattenStyle(this.props.style)?.opacity ) { this._opacityInactive(250); }