diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/analytics/clickmaps/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/analytics/clickmaps/page-client.tsx index 1573c26b3..55a983e28 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/analytics/clickmaps/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/analytics/clickmaps/page-client.tsx @@ -18,14 +18,13 @@ import { Typography, } from "@/components/ui"; import { DesignAnalyticsCard } from "@/components/design-components/analytics-card"; -import { DesignAlert } from "@/components/design-components/alert"; import { useRouter } from "@/components/router"; import type { AnalyticsClickmapTokenResponse } from "@hexclave/shared/dist/interface/admin-metrics"; import { CLICKMAP_OVERLAY_TOKEN_STORAGE_KEY, CLICKMAP_OVERLAY_TOKEN_UPDATED_EVENT, } from "@hexclave/shared/dist/utils/analytics-clickmap-overlay"; -import { ArrowRight, GlobeHemisphereWest } from "@phosphor-icons/react"; +import { ArrowRight, GlobeHemisphereWest, InfoIcon } from "@phosphor-icons/react"; import { useEffect, useMemo, useState } from "react"; import { getClickmapOriginOptions, normalizeClickmapOrigin, type ClickmapOrigin } from "./clickmap-origins"; @@ -150,6 +149,14 @@ export default function PageClient() { Use the exact origin shown in the browser address bar, including for domains matched by a wildcard. setCustomOrigin(event.target.value)} placeholder="https://app.example.com" /> + {wildcardDomains.length > 0 && ( +