diff options
author | eug-vs <eug-vs@keemail.me> | 2020-07-04 00:08:57 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-07-04 00:08:57 +0300 |
commit | b52743cc950e9633a2da41f72d3462286c629967 (patch) | |
tree | baeeb9c1b9111778e8c044c4675803b0a8f29347 /src/components/Header/Header.tsx | |
parent | 2a83b58e40d60dc058f385440a3125c60fb90026 (diff) | |
download | which-ui-b52743cc950e9633a2da41f72d3462286c629967.tar.gz |
style: remove eslint errors
Diffstat (limited to 'src/components/Header/Header.tsx')
-rw-r--r-- | src/components/Header/Header.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index bf831d4..41aeec7 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -78,7 +78,8 @@ const Header: React.FC = () => { const ProfileButton = ( <IconButton onClick={handleProfile}> - { user?.avatarUrl + { + user?.avatarUrl ? <Avatar className={classes.round} src={user?.avatarUrl} /> : <AccountCircle /> } |