From 92d9797c0d19796b4adc25d042eee1104d77f573 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Sat, 5 Mar 2022 02:29:36 -0800 Subject: [PATCH] Don't show hearts on GridReps if user is logged out --- components/GridRep/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index ba265a6a..14543b06 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -109,7 +109,7 @@ const GridRep = (props: Props) => { ) - + const detailsWithUsername = (
@@ -117,7 +117,7 @@ const GridRep = (props: Props) => {

{ (props.name) ? props.name : t('no_title') }

{ (props.raid) ? props.raid.name[locale] : t('no_raid') }
- { (!props.user || (account.user && account.user.id !== props.user.id)) ? + { (account.authorized && (props.user && account.user && account.user.id !== props.user.id)) ?