The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: fix missing nextjs auth imports
Michael Esteban7f676b285212
diff --git a/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx b/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdxindex d0e74b82999..76e169c2271 100644--- a/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx+++ b/apps/docs/pages/guides/auth/auth-helpers/nextjs.mdx@@ -83,9 +83,9 @@ Wrap your `pages/_app.js` component with the `SessionContextProvider` component:```jsx title=pages/_app.jsimport { createBrowserSupabaseClient } from '@supabase/auth-helpers-nextjs'import { SessionContextProvider } from '@supabase/auth-helpers-react'+import { useState } from 'react'function MyApp({ Component, pageProps }) {- const router = useRouter()// Create a new supabase browser client on every first render.const [supabaseClient] = useState(() => createBrowserSupabaseClient())@@ -108,6 +108,7 @@ Wrap your `pages/_app.tsx` component with the `SessionContextProvider` component```tsx lines=2,8 title=pages/_app.tsximport { createBrowserSupabaseClient } from '@supabase/auth-helpers-nextjs'import { SessionContextProvider, Session } from '@supabase/auth-helpers-react'+import { useState } from 'react'function MyApp({Component,