From ac0cbe0686cc4d379df44f452e673be16b2eae65 Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Mon, 28 Jul 2025 16:52:13 +0200 Subject: [PATCH] docs: Clarify where to add utils folder (#37434) Clarify where to add utils folder --- apps/docs/content/guides/auth/server-side/nextjs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/auth/server-side/nextjs.mdx b/apps/docs/content/guides/auth/server-side/nextjs.mdx index 1b3390e20a6..2cae8e90d46 100644 --- a/apps/docs/content/guides/auth/server-side/nextjs.mdx +++ b/apps/docs/content/guides/auth/server-side/nextjs.mdx @@ -67,7 +67,7 @@ To access Supabase from your Next.js app, you need 2 types of Supabase clients: 1. **Client Component client** - To access Supabase from Client Components, which run in the browser. 1. **Server Component client** - To access Supabase from Server Components, Server Actions, and Route Handlers, which run only on the server. -Create a `utils/supabase` folder with a file for each type of client. Then copy the utility functions for each client type. +Create a `utils/supabase` folder at the root of your project, or inside the `./src` folder if you are using one, with a file for each type of client. Then copy the utility functions for each client type.