bugfixing

This commit is contained in:
MuslemRahimi 2024-11-04 17:13:31 +01:00
parent 261307f3c6
commit 88469c11f3

View File

@ -39,43 +39,43 @@
let path;
switch (sector) {
case "Financials":
path = "financial-sector";
path = "financial";
break;
case "Healthcare":
path = "healthcare-sector";
path = "healthcare";
break;
case "Information Technology":
path = "technology-sector";
path = "technology";
break;
case "Technology":
path = "technology-sector";
path = "technology";
break;
case "Financial Services":
path = "financial-sector";
path = "financial";
break;
case "Industrials":
path = "industrials-sector";
path = "industrials";
break;
case "Energy":
path = "energy-sector";
path = "energy";
break;
case "Utilities":
path = "utilities-sector";
path = "utilities";
break;
case "Consumer Cyclical":
path = "consumer-cyclical-sector";
path = "consumer-cyclical";
break;
case "Real Estate":
path = "real-estate-sector";
path = "real-estate";
break;
case "Basic Materials":
path = "basic-materials-sector";
path = "basic-materials";
break;
case "Communication Services":
path = "communication-services-sector";
path = "communication-services";
break;
case "Consumer Defensive":
path = "consumer-defensive-sector";
path = "consumer-defensive";
break;
default:
// Handle default case if needed
@ -522,7 +522,7 @@
>
<td class="text-[1rem] whitespace-nowrap">
<a
href={"/list/" + sectorSelector(name)}
href={"/list/sector/" + sectorSelector(name)}
class="sm:hover:text-white text-blue-400"
>
{name}