fix picture reference

This commit is contained in:
nathan 2022-02-18 14:34:31 -05:00
parent b178871bd7
commit 23b8bb4459

View file

@ -104,7 +104,7 @@ const Header: FC<HeaderProps> = ({ includeSidebar, data }) => {
{userName && ( {userName && (
<> <>
<IconButton color="inherit" onClick={handleMenuOpen}> <IconButton color="inherit" onClick={handleMenuOpen}>
<Avatar name={userName} url={get(data, 'claims.picture', null)} /> <Avatar name={userName} url={get(data, 'user.claims.picture', null)} />
</IconButton> </IconButton>
<Menu <Menu
onClose={handleMenuClose} onClose={handleMenuClose}