From ec737757c029a34a4ebbaefe2fd6d7638192e53b Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 16 Nov 2022 07:29:24 -0800 Subject: [PATCH] Try fixing element error on prod --- components/GridRep/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index 9920c269..c19b6515 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -110,17 +110,17 @@ const GridRep = (props: Props) => { } const userImage = () => { - if (props.user) + if (props.user && props.user.picture) { return ( {props.user.picture.picture} ) - else return
+ } else return
} const details = (