Skip to content

Commit

Permalink
chore: updated heading of realated designs
Browse files Browse the repository at this point in the history
Signed-off-by: Vidit Kushwaha <[email protected]>
  • Loading branch information
Vidit-Kushwaha committed Feb 1, 2025
1 parent 763bfe4 commit 70bf901
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/custom/CatalogDetail/RelatedDesigns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ const RelatedDesigns: React.FC<RelatedDesignsProps> = ({
<AdditionalContainer>
<ContentHeading>
<h2 style={{ margin: '0', textTransform: 'uppercase' }}>
Other public design by {formatToTitleCase(userProfile?.first_name ?? '')}{' '}
Other {type.toLowerCase() == 'my-designs' ? 'public' : 'published'} design by{' '}
{formatToTitleCase(userProfile?.first_name ?? '')}{' '}
{fetchingOrgError ? '' : `under ${organizationName}`}
</h2>
</ContentHeading>
Expand Down

0 comments on commit 70bf901

Please sign in to comment.