Next.js getServerSideProps broken after supabase.js 2.0 and auth helpers update

export const getServerSideProps = withPageAuth({
  redirectTo: '/',
  async getServerSideProps(ctx, supabaseServerClient) {
    const { data } = await supabaseServerClient(ctx)
      .from('users_vocabulary')
      .select('*', { count: 'exact' });
    return { props: { data } };
  }
});


Followed the updated guide on https://github.com/supabase/auth-helpers/blob/main/packages/nextjs/README.md, supabase logs shows 200 query but then nothing shows up in chrome network monitor. Any ideas?
unknown.png
Was this page helpful?