fix(ui): avatar image performance#307
Conversation
|
@JoltCode is attempting to deploy a commit to the AnswerOverflow Team on Vercel. A member of the Team first needs to authorize it. |
Codecov Report
@@ Coverage Diff @@
## main #307 +/- ##
=========================================
+ Coverage 0 84.52% +84.52%
=========================================
Files 0 134 +134
Lines 0 11497 +11497
Branches 0 1531 +1531
=========================================
+ Hits 0 9718 +9718
- Misses 0 1523 +1523
- Partials 0 256 +256 see 134 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
| ref={ref} | ||
| asChild | ||
| className={cn('aspect-square h-full w-full ', className)} | ||
| src={src} |
There was a problem hiding this comment.
maybe do a <> </> blank component if src is null
There was a problem hiding this comment.
dont hardcode sizes, get it from the passed in size
* tweak(docs): design guidelines * fix(ui/avatar): implement next/image * lower icon sizes * Update _document.tsx --------- Co-authored-by: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com>

Description
Implements
next/imageto the avatar imageFixes #306 (issue)
Type of change
How Has This Been Tested?
N/A
Checklist: