We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd0e29d commit 9a2ab31Copy full SHA for 9a2ab31
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