getSession in “use client”
hey im using supabase for a nextjs 14 app that uses supabase for auth and db obv. and i was wondering how i can get supabase auth session info while client side using
"use client", cus the functions say to use await in async functions but according to the error i get you cant use async functions in client components. i tried putting them in useeffects and didnt work already also.