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.

Update page.tsx

Kiran K85d09b6cdc9b
diff --git a/apps/web/app/(ee)/app.dub.co/[slug]/(guide)/tracking-guide/page.tsx b/apps/web/app/(ee)/app.dub.co/[slug]/(guide)/tracking-guide/page.tsx
index 09f28db871..fc10b184f7 100644
--- a/apps/web/app/(ee)/app.dub.co/[slug]/(guide)/tracking-guide/page.tsx
+++ b/apps/web/app/(ee)/app.dub.co/[slug]/(guide)/tracking-guide/page.tsx
@@ -13,9 +13,10 @@ export default async function Page({
guide: string;
};
}) {
- let { guide } = searchParams;
- let selectedGuide: IntegrationGuide | null = null;
+ const { guide } = searchParams;
+
let markdown: string | null = null;
+ let selectedGuide: IntegrationGuide | null = null;
if (guide) {
selectedGuide = guides.find((g) => g.key === guide.toLowerCase()) ?? null;