Skip to content

Commit

Permalink
resolve pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
reactoholic committed Jan 21, 2025
1 parent fcf8731 commit 24f937a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import JourneyAvatar from '@/domain/journey/common/JourneyAvatar/JourneyAvatar';

const StackedAvatar = ({ avatarUris }: { avatarUris: string[] }) => (
<Box sx={{ width: gutters(2), height: gutters(2), position: 'relative', flex: '0 0 15%' }}>
{avatarUris?.map((avatarUri, index) => {
{avatarUris.map((avatarUri, index) => {
return (
<JourneyAvatar
key={index}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export const SpaceExplorerView = ({
journeyUri={space.profile?.url}
type={space.profile?.type!}
banner={space.profile?.cardBanner}
avatarUris={collectParentAvatars(space)}
avatarUris={collectParentAvatars(space) ?? []}
tags={space.matchedTerms ?? space.profile?.tagset?.tags.length ? space.profile?.tagset?.tags : undefined}
spaceDisplayName={space.parent?.profile?.displayName}
matchedTerms={!!space.matchedTerms}
Expand Down

0 comments on commit 24f937a

Please sign in to comment.