From b2ade0d0a7f576de62eee2802c80458295dfd886 Mon Sep 17 00:00:00 2001 From: Shaurya Aher Date: Fri, 8 Apr 2022 21:12:29 +0530 Subject: [PATCH] Change the trace constant name --- src/App.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index a5cdce2..d241c06 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -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) => { @@ -124,7 +124,7 @@ export default class App extends Component { }); }); }); - t.stop(); + trace1.stop(); } render() { return (