docs: Clarify where to add utils folder (#37434)

Clarify where to add utils folder
This commit is contained in:
Chris Chinchilla authored and GitHub committed 2025-07-28 11:52:13 -03:00
1 parent 7c3d4b9eaa
commit ac0cbe0686
1 file changed
+1 -1
@@ -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.
<Accordion
type="default"