The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix share url params (#19442)
Francesco Sansalvadore386e85053701
diff --git a/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx b/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsxindex 281db3a466e..6dda16408b4 100644--- a/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx+++ b/apps/www/components/LaunchWeek/X/Ticket/TicketActions.tsx@@ -13,9 +13,11 @@ export default function TicketActions() {const [_loading, setLoading] = useState(false)const isTablet = useBreakpoint(1280)const downloadLink = useRef<HTMLAnchorElement>()- const link = `${SITE_URL}/tickets/${username}?lw=x${golden ? `&platinum=true` : ''}`- const permalink = encodeURIComponent(link)const hasSecretTicket = metadata?.hasSecretTicket+ const link = `${SITE_URL}/tickets/${username}?lw=x${+ hasSecretTicket ? '&secret=true' : golden ? `&platinum=true` : ''+ }`+ const permalink = encodeURIComponent(link)const text = hasSecretTicket ? TWEET_TEXT_SECRET : golden ? TWEET_TEXT_GOLDEN : TWEET_TEXTconst encodedText = encodeURIComponent(text)const tweetUrl = `https://twitter.com/intent/tweet?url=${permalink}&text=${encodedText}`