@@ -2,9 +2,9 @@ import { resizeImage } from "@/lib/images";
22import useWorkspace from "@/lib/swr/use-workspace" ;
33import { LinkProps } from "@/lib/types" ;
44import { UploadCloud } from "@/ui/shared/icons" ;
5+ import { ProBadgeTooltip } from "@/ui/shared/pro-badge-tooltip" ;
56import { UpgradeToProToast } from "@/ui/shared/upgrade-to-pro-toast" ;
67import {
7- BadgeTooltip ,
88 ButtonTooltip ,
99 LoadingCircle ,
1010 LoadingSpinner ,
@@ -18,7 +18,7 @@ import { FADE_IN_ANIMATION_SETTINGS, truncate } from "@dub/utils";
1818import va from "@vercel/analytics" ;
1919import { useCompletion } from "ai/react" ;
2020import { motion } from "framer-motion" ;
21- import { Crown , Link2 } from "lucide-react" ;
21+ import { Link2 } from "lucide-react" ;
2222import { Dispatch , SetStateAction , useEffect , useState } from "react" ;
2323import TextareaAutosize from "react-textarea-autosize" ;
2424import { toast } from "sonner" ;
@@ -177,20 +177,15 @@ export default function OGSection({
177177 < h2 className = "text-sm font-medium text-gray-900" >
178178 Custom Social Media Cards
179179 </ h2 >
180- < BadgeTooltip
180+ < ProBadgeTooltip
181181 content = {
182182 < SimpleTooltipContent
183183 title = "Customize how your links look when shared on social media."
184184 cta = "Learn more."
185185 href = "https://dub.co/help/article/custom-social-media-cards"
186186 />
187187 }
188- >
189- < div className = "flex items-center space-x-1" >
190- < Crown size = { 12 } />
191- < p > PRO</ p >
192- </ div >
193- </ BadgeTooltip >
188+ />
194189 </ div >
195190 < Switch
196191 fn = { ( ) => setData ( ( prev ) => ( { ...prev , proxy : ! proxy } ) ) }
0 commit comments