Skip to content

Commit

Permalink
fix: remove codesandbox metrics on first load
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Mar 6, 2025
1 parent 5ff69ba commit 5877b84
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/app/src/sandbox/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -979,19 +979,6 @@ async function compile(opts: CompileOptions) {

manager.isFirstLoad = false;
}

if (firstLoad) {
metrics
.persistMeasurements({
sandboxId,
cacheUsed: usedCache,
browser: navigator.userAgent,
version: VERSION,
})
.catch(() => {
/* Do nothing with the error */
});
}
}

if (!hadError && firstLoad) {
Expand Down

0 comments on commit 5877b84

Please sign in to comment.