aac2c7027e
Added documentation to methods Fixed avatars not initially loading Just generally cleaned up the codebase
9 lines
230 B
JavaScript
9 lines
230 B
JavaScript
import Image from "next/image";
|
|
|
|
const Avatar = (props) => {
|
|
return <>
|
|
<Image className={'player-avatar'} src={props.url} width={180} height={180} alt={'Avatar image'} loading='lazy'/>
|
|
</>
|
|
}
|
|
|
|
export default Avatar; |