Skip to content

Commit 5877b84

Browse files
committed
fix: remove codesandbox metrics on first load
1 parent 5ff69ba commit 5877b84

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/app/src/sandbox/compile.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -979,19 +979,6 @@ async function compile(opts: CompileOptions) {
979979

980980
manager.isFirstLoad = false;
981981
}
982-
983-
if (firstLoad) {
984-
metrics
985-
.persistMeasurements({
986-
sandboxId,
987-
cacheUsed: usedCache,
988-
browser: navigator.userAgent,
989-
version: VERSION,
990-
})
991-
.catch(() => {
992-
/* Do nothing with the error */
993-
});
994-
}
995982
}
996983

997984
if (!hadError && firstLoad) {

0 commit comments

Comments
 (0)