mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-30 12:05:39 -05:00
chore(ui): removed unused default-avatar classes (#55075)
This commit is contained in:
@@ -8,7 +8,6 @@ function DefaultAvatar(
|
||||
|
||||
return (
|
||||
<svg
|
||||
className='default-avatar'
|
||||
height='500px'
|
||||
version='1.1'
|
||||
viewBox='0 0 500 500'
|
||||
|
||||
@@ -44,7 +44,7 @@ function AvatarRenderer({
|
||||
<div className={`avatar-container ${borderColor}`}>
|
||||
<span className='sr-only'>{t('buttons.profile')}</span>
|
||||
{isPlaceHolderImage ? (
|
||||
<DefaultAvatar className='avatar default-avatar' />
|
||||
<DefaultAvatar className='avatar' />
|
||||
) : (
|
||||
<Image alt='' className='avatar' src={picture} responsive />
|
||||
)}
|
||||
|
||||
@@ -35,7 +35,7 @@ exports[`<Profile/> renders correctly 1`] = `
|
||||
</span>
|
||||
<svg
|
||||
aria-hidden="true"
|
||||
class="avatar default-avatar"
|
||||
class="avatar"
|
||||
height="500px"
|
||||
version="1.1"
|
||||
viewBox="0 0 500 500"
|
||||
|
||||
Reference in New Issue
Block a user