diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index 3f406b4b..6c0990ad 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -136,7 +136,16 @@ const GridRep = (props: Props) => { src={`/profile/${props.user.avatar.picture}.png`} /> ) - } else return
+ } else + return ( + {t('no_user')} + ) } const linkedAttribution = () => ( diff --git a/components/PartyDetails/index.tsx b/components/PartyDetails/index.tsx index f2aef8fc..2a93f342 100644 --- a/components/PartyDetails/index.tsx +++ b/components/PartyDetails/index.tsx @@ -403,7 +403,16 @@ const PartyDetails = (props: Props) => { src={`/profile/${picture}.png`} /> ) - else return
+ else + return ( + {t('no_user')} + ) } const userBlock = (username?: string, picture?: string, element?: string) => {