Skip to content

Commit 5177ddb

Browse files
committed
add optional chaining operator and fix color of sector description
1 parent 3c68068 commit 5177ddb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/[locale]/(user)/components/ListingComponent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ const ListingComponent: React.FC<ListingProps> = ({
303303
)}
304304
<Text
305305
variant="headingLg"
306-
className="text-primaryBlue"
307306
fontWeight="regular"
308307
>
309308
{categoryDescription

app/[locale]/(user)/usecases/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const UseCasesListingPage = () => {
139139
]}
140140
footerContent={[
141141
{
142-
icon: `/Sectors/${item.sectors[0].name}.svg`,
142+
icon: `/Sectors/${item?.sectors[0]?.name}.svg`,
143143
label: 'Sectors',
144144
},
145145
{ icon: '/fallback.svg', label: 'Published by' },

0 commit comments

Comments
 (0)