Bug 1849946 - [devtools] Switch to do strict inequality check r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D187102
This commit is contained in:
Hubert Boma Manilla 2023-09-05 10:51:12 +00:00
parent 7b8bd15a92
commit 34cef822f7

View File

@ -121,7 +121,7 @@ define(function (require, exports, module) {
*/
shouldComponentUpdate(nextProps) {
for (const prop of UPDATE_ON_PROPS) {
if (nextProps.member[prop] != this.props.member[prop]) {
if (nextProps.member[prop] !== this.props.member[prop]) {
return true;
}
}