aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-07-03 20:06:57 +0300
committereug-vs <eug-vs@keemail.me>2020-07-03 20:07:08 +0300
commit020356cb5588c2fd4d12dd91d60fe082eb4c69a2 (patch)
tree147250552c26b67036a6005f0bf9c3d03d532e05 /src/components
parent68de14f03ec3cba9937669535783956766363462 (diff)
downloadwhich-ui-020356cb5588c2fd4d12dd91d60fe082eb4c69a2.tar.gz
feat: create basic markup
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Header/Header.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx
index 339f322..294c250 100644
--- a/src/components/Header/Header.tsx
+++ b/src/components/Header/Header.tsx
@@ -69,7 +69,7 @@ const Header: React.FC = () => {
</IconButton>
<IconButton onClick={handleProfile}>
{
- user?.avatarUrl?.match(/\.(jpeg|jpg|gif|png)$/)
+ user?.avatarUrl
? <Avatar className={classes.avatar} src={user?.avatarUrl} />
: <AccountCircle />
}