aboutsummaryrefslogtreecommitdiff
path: root/src/components/Header
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-07-04 00:08:57 +0300
committereug-vs <eug-vs@keemail.me>2020-07-04 00:08:57 +0300
commitb52743cc950e9633a2da41f72d3462286c629967 (patch)
treebaeeb9c1b9111778e8c044c4675803b0a8f29347 /src/components/Header
parent2a83b58e40d60dc058f385440a3125c60fb90026 (diff)
downloadwhich-ui-b52743cc950e9633a2da41f72d3462286c629967.tar.gz
style: remove eslint errors
Diffstat (limited to 'src/components/Header')
-rw-r--r--src/components/Header/Header.tsx3
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 />
}