Skip to content

Commit 8d152f0

Browse files
committed
fix(docs): tracker
1 parent 6056bf7 commit 8d152f0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/docs/components/docs-footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { getTrackingParams } from "@databuddy/sdk";
3+
import { getTracker } from "@databuddy/sdk";
44
import Link from "next/link";
55
import { FaDiscord, FaGithub, FaXTwitter } from "react-icons/fa6";
66
import { IoMdMail } from "react-icons/io";
@@ -10,7 +10,7 @@ export function DocsFooter() {
1010
const handleGetStarted = () => {
1111
if (typeof window === "undefined") return;
1212

13-
const trackingParams = getTrackingParams();
13+
const trackingParams = getTracker();
1414
const url = trackingParams
1515
? `https://app.databuddy.cc/login?${trackingParams}`
1616
: "https://app.databuddy.cc/login";

apps/docs/components/footer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use client";
22

3-
import { getTrackingParams } from "@databuddy/sdk";
3+
import { getTracker } from "@databuddy/sdk";
44
import Link from "next/link";
55
import { FaDiscord, FaGithub, FaXTwitter } from "react-icons/fa6";
66
import { IoMdMail } from "react-icons/io";
@@ -12,7 +12,7 @@ export function Footer() {
1212
const handleGetStarted = () => {
1313
if (typeof window === "undefined") return;
1414

15-
const trackingParams = getTrackingParams();
15+
const trackingParams = getTracker();
1616
const url = trackingParams
1717
? `https://app.databuddy.cc/login?${trackingParams}`
1818
: "https://app.databuddy.cc/login";

0 commit comments

Comments
 (0)