get user function supabase.auth.user()

Hi I am trying to follow Jon Meyer's tutorial of Supabase + NextJS. However I think some of the functions are deprecated, as the photo attached. What is the newest function for getting user?
Screenshot_2022-10-13_at_11.58.39_PM.png
Was this page helpful?