Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Change the trace constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
shauryaaher committed Apr 8, 2022
1 parent a3d3d18 commit b2ade0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export default class App extends Component {
};
}
componentDidMount() {
const t = trace(performance, "Get Firestore data");
t.start();
const trace1 = trace(performance, "Get Firestore data");
trace1.start();
this.changeAuthState();
const q = query(collection(firestore, "col"));
onSnapshot(q, (querySnapshot) => {
Expand All @@ -124,7 +124,7 @@ export default class App extends Component {
});
});
});
t.stop();
trace1.stop();
}
render() {
return (
Expand Down

0 comments on commit b2ade0d

Please sign in to comment.