Clarify where to add utils folder

This commit is contained in:
Chris Chinchilla committed 2025-07-24 14:05:46 +02:00
1 parent cfb22045d0
commit 89f72c6bea
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"