From 3eab9fa042838ab32caf0106b89d080ee1e085ee Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 14 Oct 2025 01:55:21 +0000 Subject: [PATCH] Guard loadSkipAgent against docs routes cgen-08740275452f42679f6012ae2fb5920b --- client/lib/skip-agent.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/lib/skip-agent.ts b/client/lib/skip-agent.ts index 7f192969..f7174d23 100644 --- a/client/lib/skip-agent.ts +++ b/client/lib/skip-agent.ts @@ -348,6 +348,11 @@ const loadSkipAgent = async (): Promise => { return; } + if (isDocsPath()) { + // Prevent any network activity from documentation routes + return; + } + if (typeof window === "undefined" || typeof document === "undefined") { return; }