and this is error I get in terminal while my browser shows ERROR 500
Cannot read properties of null (reading 'id')TypeError: Cannot read properties of null (reading 'id')
Cannot read properties of null (reading 'id')TypeError: Cannot read properties of null (reading 'id')
What is causing it and how can I pass currently logged in user id to userDetails()? If I hardcode user id which is uuid for that table then it shows me results I am looking for.
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.