Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Use string "false"

Tim Wilson6bcaad421cef
diff --git a/apps/web/ui/analytics/analytics-provider.tsx b/apps/web/ui/analytics/analytics-provider.tsx
index ff51829759..5841c8cea7 100644
--- a/apps/web/ui/analytics/analytics-provider.tsx
+++ b/apps/web/ui/analytics/analytics-provider.tsx
@@ -209,7 +209,7 @@ export default function AnalyticsProvider({
folderId ||
tagIds
? undefined
- : false,
+ : "false",
});
// Reset requiresUpgrade when query changes
diff --git a/apps/web/ui/analytics/use-analytics-query.tsx b/apps/web/ui/analytics/use-analytics-query.tsx
index bc75f2eebd..92595165f0 100644
--- a/apps/web/ui/analytics/use-analytics-query.tsx
+++ b/apps/web/ui/analytics/use-analytics-query.tsx
@@ -68,7 +68,7 @@ export function useAnalyticsQuery({
? searchParams.get("root") === "true"
: defaultRoot
? defaultRoot({ key, folderId, tagIds })
- : false;
+ : "false";
const selectedTab: EventType = useMemo(() => {
const event = searchParams.get("event");