aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
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 />
}