Fix Landing Chorecard

This commit is contained in:
Mo Tarbin 2024-11-03 22:59:33 -05:00
parent 1e90c2e61f
commit e1615d2c33
2 changed files with 2 additions and 2 deletions

View file

@ -446,7 +446,7 @@ const ChoreCard = ({
</Avatar>
<Box display='flex' flexDirection='column'>
<Typography level='title-md'>{getName(chore.name)}</Typography>
{chore.assignedTo !== userProfile.id && (
{userProfile && chore.assignedTo !== userProfile.id && (
<Typography level='body-md' color='text.disabled'>
Assigned to{' '}
<Chip variant='outlined'>