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 SimpleTooltipContent

Steven Teyeab73a8d4608
diff --git a/apps/web/ui/layout/page-content/index.tsx b/apps/web/ui/layout/page-content/index.tsx
index dab13d7525..e855699958 100644
--- a/apps/web/ui/layout/page-content/index.tsx
+++ b/apps/web/ui/layout/page-content/index.tsx
@@ -1,4 +1,4 @@
-import { InfoTooltip, TooltipContent } from "@dub/ui";
+import { InfoTooltip, SimpleTooltipContent } from "@dub/ui";
import { cn } from "@dub/utils";
import { ChevronLeft } from "lucide-react";
import Link from "next/link";
@@ -34,10 +34,9 @@ export function PageContent({
"href" in titleInfo ? (
<InfoTooltip
content={
- <TooltipContent
+ <SimpleTooltipContent
title={titleInfo.title}
href={titleInfo.href}
- target="_blank"
cta="Learn more"
/>
}