Skip to content

Commit 1a471f9

Browse files
committed
fix perf example
1 parent e79a9a7 commit 1a471f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scenarios/browser/perf-manual.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { init } from "@sentry/browser";
1+
import { init, startTransaction } from "@sentry/browser";
22
import "@sentry/tracing";
33

44
init({
55
dsn: "https://[email protected]/0000000",
66
tracesSampleRate: 1.0,
77
});
88

9-
const transaction = Sentry.startTransaction({ op: "task", name: "Important Stuff" });
9+
const transaction = startTransaction({ op: "task", name: "Important Stuff" });
1010

1111
setTimeout(() => {
1212
transaction.finish();

0 commit comments

Comments
 (0)