summaryrefslogtreecommitdiffstats
path: root/devtools/client/memory/components/CensusTreeItem.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/memory/components/CensusTreeItem.js')
-rw-r--r--devtools/client/memory/components/CensusTreeItem.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/memory/components/CensusTreeItem.js b/devtools/client/memory/components/CensusTreeItem.js
index 39fdbeb052..b3dd5545de 100644
--- a/devtools/client/memory/components/CensusTreeItem.js
+++ b/devtools/client/memory/components/CensusTreeItem.js
@@ -45,7 +45,7 @@ class CensusTreeItem extends Component {
this.toLabel = this.toLabel.bind(this);
}
- shouldComponentUpdate(nextProps, nextState) {
+ shouldComponentUpdate(nextProps) {
return (
this.props.item != nextProps.item ||
this.props.depth != nextProps.depth ||