mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
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:
parent
7b8bd15a92
commit
34cef822f7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user