We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b244b4f + 9a2ab31 commit 0741658Copy full SHA for 0741658
1 file changed
src/extension/components/ReactPerfDevtool.js
@@ -65,14 +65,10 @@ export class ReactPerfDevtool extends React.Component {
65
}
66
67
componentDidMount() {
68
- // Display the loading indicator
69
- this.setState({ loading: true })
+ this.setState({ loading: true, showChart: true })
70
71
// Get the total measures and flush them if the store is empty.
72
this.timer = setInterval(() => this.getMeasuresLength(), 2000)
73
-
74
- // Show the chart when we have the measures
75
- this.setState({ showChart: true })
76
77
78
componentWillUnmount() {
0 commit comments