render default avatar in contact list

This commit is contained in:
Roland Osborne 2022-07-12 12:36:00 -07:00
parent ab2bcc751b
commit f3ba244fb0

View File

@ -3,9 +3,7 @@ import { UserOutlined } from '@ant-design/icons';
import { LogoWrapper } from './Logo.styled';
export function Logo({ imageSet, imageUrl }) {
if (imageUrl == null) {
return <></>
} else if (!imageSet) {
if (!imageSet) {
return (
<LogoWrapper>
<UserOutlined />