Skip to content

Commit 8140ca4

Browse files
committed
Fix bug in pr/main
1 parent 4501fc5 commit 8140ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/github/pr/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const globals: {
2323
let Sentry: ReturnType<typeof initSentry> = undefined;
2424
let consent: Consent = "none";
2525

26-
await init();
27-
2826
async function init(): Promise<void> {
2927
consent = await getConsent();
3028

@@ -209,3 +207,5 @@ function clearAnimationAndAnnotations() {
209207
clearAnimation(lineSelector, annotateLine);
210208
clearAnnotations((line: HTMLElement) => (line.style.boxShadow = "inherit"));
211209
}
210+
211+
await init();

0 commit comments

Comments
 (0)