I am setting up a project using Payload v3.0. I tried following the suggestion recommended here:
https://payloadcms.com/community-help/discord/add-user-profile-pictureto add a custom user Avatar. However, whenever I try importing the 'useAuth' hook, I get the following error: 'Module "payload/components/utilities" has no exported member "useAuth"'. Any tips on getting access to the 'User' object in Payload v3.0?
I think I figured it out. In v3.0, useAuth got moved to '@payloadcms/ui/providers/Auth'
Star
Discord
online
Get dedicated engineering support directly from the Payload team..