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.

fix: small fix to useMemo

Snazzah4d455702056c
diff --git a/components/stats/utm.tsx b/components/stats/utm.tsx
index e6768f54f4..ab80a7b982 100644
--- a/components/stats/utm.tsx
+++ b/components/stats/utm.tsx
@@ -12,7 +12,7 @@ export default function UTM({ data: rawData }: { data: StatsProps }) {
const data = {
...rawData,
utmData: useMemo(() => {
- if (rawData?.locationData) {
+ if (rawData?.utmData) {
return processUTMData(rawData.utmData, tab);
} else {
return null;