Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

docs: correct import statements in code examples (#45854)

Taryn Kingb5725fc7607d
diff --git a/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx b/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx
index 954e619a0bf..6a9484f1f04 100644
--- a/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx
+++ b/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx
@@ -172,7 +172,7 @@ export const config = {
import { revalidatePath } from 'next/cache';
import { redirect } from 'next/navigation';
-import { createClient } from '@/utils/supabase/server';
+import { createClient } from '@/lib/supabase/server';
export async function login(formData: FormData) {
const supabase = createClient();
@@ -245,7 +245,7 @@ export default function LoginPage() {
import { createClientComponentClient } from '@supabase/auth-helpers-nextjs';
// with
-import { createClient } from '@/utils/supabase/client';
+import { createClient } from '@/lib/supabase/client';
export default async function Page() {
// replace this line
@@ -266,7 +266,7 @@ import { cookies } from 'next/headers';
import { createServerComponentClient } from '@supabase/auth-helpers-nextjs';
// with
-import { createClient } from '@/utils/supabase/server';
+import { createClient } from '@/lib/supabase/server';
export default async function Page() {
// replace
@@ -290,7 +290,7 @@ import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs';
import { cookies } from 'next/headers';
// with
-import { createClient } from '@/utils/supabase/server';
+import { createClient } from '@/lib/supabase/server';
export async function POST(request: Request) {
// replace