Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: fix undefined href

Francesco Sansalvadore7453f44f0626
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
index b8ed6e452d5..8fb77150ebc 100644
--- a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
+++ b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
@@ -198,18 +198,20 @@ export const ChipLink = ({
{children}
</span>
) : (
- <Link href={href}>
- <a
- target={target ?? '_self'}
- rel="noopener"
- className={[
- 'flex justify-between w-full min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 pl-3 pr-2',
- className,
- ].join(' ')}
- >
- {children}
- </a>
- </Link>
+ !!href && (
+ <Link href={href}>
+ <a
+ target={target ?? '_self'}
+ rel="noopener"
+ className={[
+ 'flex justify-between w-full min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 pl-3 pr-2',
+ className,
+ ].join(' ')}
+ >
+ {children}
+ </a>
+ </Link>
+ )
)
export const SectionButtons = ({