Set the minimum for avatar size for click-to-view to 80
This commit is contained in:
parent
f2f1c3c021
commit
6622cf72d5
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ export function Avatar({
|
|||
assertDev(avatarPath, 'avatarPath should be defined here');
|
||||
|
||||
assertDev(
|
||||
blur !== AvatarBlur.BlurPictureWithClickToView || size >= 100,
|
||||
blur !== AvatarBlur.BlurPictureWithClickToView ||
|
||||
size >= AvatarSize.EIGHTY,
|
||||
'Rendering "click to view" for a small avatar. This may not render correctly'
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue