I am playing around with the admin.avatar configuration and it was very difficult to spot the proper location for
useAuth (similarly to what happens here: https://github.com/payloadcms/payload/blob/master/src/admin/components/graphics/Account/Gravatar.tsx).
I was able to import
payload/dist/admin/components/utilities/Auth but it's pretty nested.
Would it be possible to move the
@finkinfridom absolutely! It's in our roadmap to significantly improve our component library, including how components are exported as you mentioned, and also documentation. Here's a related discussion: #1729
If you need this right away we'd be happy to accept a PR!