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

@ -1,7 +1,7 @@
{
"name": "donetick",
"private": true,
"version": "0.1.76",
"version": "0.1.77",
"type": "module",
"lint-staged": {
"*.{js,jsx,ts,tsx}": [

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'>