Confusion when combining createServerSupabaseClient and clientside auth helpers (Next.js).
Just want to clear up some confusion that I have. I am using createServerSupabaseClient at the bottom of a component to fetch data with getServerSideProps... then I'm using useSession and useSupabaseClient to listen for session changes with useEffect at the top, (redirecting with router.push if no session.) Am I jacked up here? Thanks -Jake