From 88469c11f3a09e61f0eefe5d83424d16696f1331 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 4 Nov 2024 17:13:31 +0100 Subject: [PATCH] bugfixing --- src/routes/politicians/[slug]/+page.svelte | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/routes/politicians/[slug]/+page.svelte b/src/routes/politicians/[slug]/+page.svelte index 86dc88ec..93d613d0 100644 --- a/src/routes/politicians/[slug]/+page.svelte +++ b/src/routes/politicians/[slug]/+page.svelte @@ -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 @@ > {name}