From 58514d4b57dfb5e3add38e39a4633de24c304892 Mon Sep 17 00:00:00 2001 From: Tomas Carnecky Date: Fri, 1 Mar 2024 10:23:49 +0100 Subject: [PATCH] Make year 2024 default --- website/src/components/Generator/internal/Panel.tsx | 2 +- website/src/shared.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/Generator/internal/Panel.tsx b/website/src/components/Generator/internal/Panel.tsx index c8c5f3e6..585983a3 100644 --- a/website/src/components/Generator/internal/Panel.tsx +++ b/website/src/components/Generator/internal/Panel.tsx @@ -215,7 +215,7 @@ function Panel(props: Props) { > {[ 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, - 2021, 2022, + 2021, 2022, 2023, 2024 ] .reverse() .map((year) => ( diff --git a/website/src/shared.ts b/website/src/shared.ts index a40173d1..ceb39dc8 100644 --- a/website/src/shared.ts +++ b/website/src/shared.ts @@ -28,7 +28,7 @@ export const defaultOptions: Options = { format: "topojson", projection: "wgs84", dimensions: { width: 900, height: 600 }, - year: "2022", + year: "2024", simplify: 0, shapes: new Set(["country", "cantons", "lakes"]), color: "default",