mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
render default avatar in contact list
This commit is contained in:
parent
ab2bcc751b
commit
f3ba244fb0
@ -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 />
|
||||
|
Loading…
Reference in New Issue
Block a user