Try fixing element error on prod
This commit is contained in:
parent
21b86e4239
commit
ec737757c0
1 changed files with 3 additions and 3 deletions
|
|
@ -110,7 +110,7 @@ const GridRep = (props: Props) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const userImage = () => {
|
const userImage = () => {
|
||||||
if (props.user)
|
if (props.user && props.user.picture) {
|
||||||
return (
|
return (
|
||||||
<img
|
<img
|
||||||
alt={props.user.picture.picture}
|
alt={props.user.picture.picture}
|
||||||
|
|
@ -120,7 +120,7 @@ const GridRep = (props: Props) => {
|
||||||
src={`/profile/${props.user.picture.picture}.png`}
|
src={`/profile/${props.user.picture.picture}.png`}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
else return <div className="no-user" />
|
} else return <div className="no-user" />
|
||||||
}
|
}
|
||||||
|
|
||||||
const details = (
|
const details = (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue