The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: runtime error of null reading scrolIIntoView
Andy Kenwardad8bf05c096e
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsxindex 2f683b429f7..f264a4112b7 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuGuideListItems.tsx@@ -46,7 +46,7 @@ const ContentAccordionLink = React.memo(function ContentAccordionLink(props: anyif (activeItem && activeItemRef.current) {// this is a hack, but seems a common one on StackoverflowsetTimeout(() => {- activeItemRef.current.scrollIntoView({ behavior: 'smooth', block: 'nearest' })+ activeItemRef.current?.scrollIntoView({ behavior: 'smooth', block: 'nearest' })}, 0)}})