cal.pub0.org/packages/trpc/react
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
..
hooks perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
index.ts feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
shared.ts feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
ssg.ts feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
trpc.ts feat: temp admin user management 2023-07-07 18:25:21 +05:30