The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix usage of router in Server Components instructions
Mykhaylo Ryechkin742f1ea4fbc1
diff --git a/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx b/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdxindex 4b31c0a1011..b99ad061ba6 100644--- a/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx+++ b/apps/docs/pages/guides/auth/auth-helpers/nextjs-server-components.mdx@@ -222,7 +222,7 @@ export default function SupabaseListener({ accessToken }) {useEffect(() => {supabase.auth.onAuthStateChange((event, session) => {if (session?.access_token !== accessToken) {- router.reload()+ router.refresh()}})}, [accessToken])