Skip to content

Commit 2364113

Browse files
authored
Merge branch 'dev' into 251-update-tabs-and-button-styling
2 parents 8404211 + 5177ddb commit 2364113

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -299,18 +299,19 @@ const ListingComponent: React.FC<ListingProps> = ({
299299
{categoryName}
300300
</Text>
301301
)}
302-
<Text
303-
variant="headingLg"
304-
className="text-primaryBlue"
305-
fontWeight="regular"
306-
>
307-
{categoryDescription
308-
? categoryDescription
309-
: 'No Description Provided'}
310-
</Text>
311-
</div>
302+
303+
<Text
304+
variant="headingLg"
305+
fontWeight="regular"
306+
>
307+
{categoryDescription
308+
? categoryDescription
309+
: 'No Description Provided'}
310+
</Text>
312311
</div>
313-
)}
312+
</div>
313+
)}
314+
314315

315316
{/* Optional Header Component */}
316317
{headerComponent}

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)