File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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' } ,
You can’t perform that action at this time.
0 commit comments