Skip to content

Commit 70bf901

Browse files
chore: updated heading of realated designs
Signed-off-by: Vidit Kushwaha <[email protected]>
1 parent 763bfe4 commit 70bf901

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/custom/CatalogDetail/RelatedDesigns.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ const RelatedDesigns: React.FC<RelatedDesignsProps> = ({
4141
<AdditionalContainer>
4242
<ContentHeading>
4343
<h2 style={{ margin: '0', textTransform: 'uppercase' }}>
44-
Other public design by {formatToTitleCase(userProfile?.first_name ?? '')}{' '}
44+
Other {type.toLowerCase() == 'my-designs' ? 'public' : 'published'} design by{' '}
45+
{formatToTitleCase(userProfile?.first_name ?? '')}{' '}
4546
{fetchingOrgError ? '' : `under ${organizationName}`}
4647
</h2>
4748
</ContentHeading>

0 commit comments

Comments
 (0)