diff --git a/packages/react-dom/src/client/ReactDOMFiberComponent.js b/packages/react-dom/src/client/ReactDOMFiberComponent.js index 67efb8cdf6eea..8ca86a240abde 100644 --- a/packages/react-dom/src/client/ReactDOMFiberComponent.js +++ b/packages/react-dom/src/client/ReactDOMFiberComponent.js @@ -668,7 +668,7 @@ export function diffProperties( } for (propKey in nextProps) { const nextProp = nextProps[propKey]; - const lastProp = lastProps != null ? lastProps[propKey] : undefined; + const lastProp = lastProps[propKey]; if ( !nextProps.hasOwnProperty(propKey) || nextProp === lastProp ||