diff --git a/packages/integrations/prefetch/src/client.ts b/packages/integrations/prefetch/src/client.ts index 187c808cb..50df858cb 100644 --- a/packages/integrations/prefetch/src/client.ts +++ b/packages/integrations/prefetch/src/client.ts @@ -25,7 +25,7 @@ let observer: IntersectionObserver; function observe(link: HTMLAnchorElement) { preloaded.add(link.href); observer.observe(link); - events.map((event) => link.addEventListener(event, onLinkEvent, { passive:true, once: true })); + events.map((event) => link.addEventListener(event, onLinkEvent, { passive: true, once: true })); } function unobserve(link: HTMLAnchorElement) {