diff --git a/packages/election-engine-map/src/App.svelte b/packages/election-engine-map/src/App.svelte index 20d32fd..cb2640f 100644 --- a/packages/election-engine-map/src/App.svelte +++ b/packages/election-engine-map/src/App.svelte @@ -11,7 +11,6 @@ import ProvincialView from "./lib/components/dashboard-view/provincialView.svelte"; import years from "@election-engine/common/years.json"; import PROVINCES from "@election-engine/common/provinces.json"; - import SelectButton from "./lib/components/selectButton.svelte"; import Loading from "@election-engine/common/loading.svelte"; import { maps_endpoint } from "./lib/libs/maps"; import { partyColor } from "@election-engine/common/colors"; @@ -197,43 +196,40 @@
{#if show_buttons} - -
+
+ + +
+ +
+ {#each years as year} -
- - Provincial Legislature - -
- - - -
- {#each years as year} - - {/each} -
-
+ {/each} +
{#if selected_election === "Provincial Legislature"} -
+
{#each provinces as province}