Uncaught TypeError supabase.auth.user is not a function
I'm trying to figure out what I've done wrong here, and have been unsuccessful thus far. The error i'm getting is "Uncaught TypeError supabase.auth.user is not a function". The issue is at line 18 in my App.vue file (I'm using Vue 3). On that line is
const user = supabase.auth.user();
const user = supabase.auth.user();
(as shown in code pictured). I'm not sure what I'm missing or did wrong.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.