cal.pub0.org/packages/ui/components/avatar
sean-brydon 57384eb921
perf: Replace un-needed context fetching (#10657)
* Replace ctx.user.credentials to fetch in their own usecases

* Remove rawavatar from return

* Remove avatar rawAvatar from handler

* Fix fallback avatars

* fix: profile.slug already includes /team

* perf: Deprecate useAvatarQuery hook

* Extract to reusable credential func

* Fix type errors for credentials

* credentialOwner was inferred incorrectly, string non-nullable

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-08-10 18:07:09 +01:00
..
Avatar.tsx perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
AvatarGroup.tsx misc frontend fixes (#8416) 2023-04-20 22:33:49 +00:00
avatar.stories.mdx feat: Added Storybook Controls (#9676) 2023-06-23 09:04:26 +00:00
index.ts Fix avatars not overlapping (#6405) 2023-01-11 15:00:46 +00:00