Skip to content

Commit 7d5a215

Browse files
authored
fix: profile user iimage (#3784)
1 parent 57172e2 commit 7d5a215

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/app/views/authentication/profile/Profile.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ const SignedInButton = forwardRef<
149149
>((props, ref) => {
150150
const styles = useHeaderStyles();
151151
const user = useAppSelector((state) => state.profile.user);
152+
const imageUrl = user?.profileImageUrl ?? '';
152153

153154
return (
154155
<Tooltip content={translateMessage('sign out')} relationship='description'>
@@ -165,6 +166,11 @@ const SignedInButton = forwardRef<
165166
name={user?.displayName}
166167
className={styles.iconButton}
167168
presence={{ status: 'available' }}
169+
avatar={{
170+
image: {
171+
src: imageUrl
172+
}
173+
}}
168174
/>
169175
</Button>
170176
</Tooltip>

0 commit comments

Comments
 (0)