Skip to content

Commit 0741658

Browse files
committed
Merge branch 'patch-1'
:
2 parents b244b4f + 9a2ab31 commit 0741658

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/extension/components/ReactPerfDevtool.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,10 @@ export class ReactPerfDevtool extends React.Component {
6565
}
6666

6767
componentDidMount() {
68-
// Display the loading indicator
69-
this.setState({ loading: true })
68+
this.setState({ loading: true, showChart: true })
7069

7170
// Get the total measures and flush them if the store is empty.
7271
this.timer = setInterval(() => this.getMeasuresLength(), 2000)
73-
74-
// Show the chart when we have the measures
75-
this.setState({ showChart: true })
7672
}
7773

7874
componentWillUnmount() {

0 commit comments

Comments
 (0)