The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Docs: remove unused `session` variable
Liau Jian Jie4e36eb80f840
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 a31afc3d055..a2bae56dc30 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@@ -506,7 +506,7 @@ import { useSupabase } from './supabase-provider'// Supabase auth needs to be triggered client-sideexport default function Login() {- const { supabase, session } = useSupabase()+ const { supabase } = useSupabase()const handleEmailLogin = async () => {await supabase.auth.signInWithPassword({@@ -546,7 +546,7 @@ import { useSupabase } from './supabase-provider'// Supabase auth needs to be triggered client-sideexport default function Login() {- const { supabase, session } = useSupabase()+ const { supabase } = useSupabase()const handleEmailLogin = async () => {await supabase.auth.signInWithPassword({