Supabase not returning values in nextjs

I recently tried to add supabase as a db to my next project and I set up the tables and imported everything correctly but whenever I try to use supabase.from(‘tabename’).select(), it only returns an empty array. Changing tablename to a non-existing table will throw and error. Is there a way to successfully retrieve the data? I have tried this locally and it still isn’t working.

Repl link: