The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: SSR warning for aria-selected prop (#20754)
Kevin Grüneberg7c52592670d4
diff --git a/packages/ui/src/components/NavMenu/index.tsx b/packages/ui/src/components/NavMenu/index.tsxindex 1002283a00e..da69b01d5ee 100644--- a/packages/ui/src/components/NavMenu/index.tsx+++ b/packages/ui/src/components/NavMenu/index.tsx@@ -27,7 +27,7 @@ export const NavMenuItem = ({active: boolean}>) => (<li- aria-selected={props.active}+ aria-selected={props.active ? 'true' : 'false'}data-state={props.active ? 'active' : 'inactive'}className={cn('inline-flex items-center justify-center whitespace-nowrap text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground text-foreground-lighter hover:text-foreground data-[state=active]:border-foreground border-b-2 border-transparent *:px-3 *:py-1.5',