Skip to content

Commit

Permalink
make track func in background
Browse files Browse the repository at this point in the history
  • Loading branch information
domechn committed Aug 5, 2023
1 parent 8cb990d commit 878aa42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/data-management/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ const App = ({
try {
await signIn(email, verificationCode);

await trackEventWithClientID("sign_in")
trackEventWithClientID("sign_in")
} finally {
if (signInRef.current) {
signInRef.current!.disabled = false;
Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function disableContextmenu() {
disableContextmenu();

// track event
(async () => trackEventWithClientID("app_started"))();
trackEventWithClientID("app_started");

0 comments on commit 878aa42

Please sign in to comment.