From c39b6d97b5c58e526972449f7fd0d3772cfa7927 Mon Sep 17 00:00:00 2001 From: Patrick Browne Date: Mon, 9 Sep 2024 11:56:18 +0200 Subject: [PATCH] Update website/src/components/Generator/internal/Preview.tsx Co-authored-by: SEY <6782188+shuaiey@users.noreply.github.com> --- website/src/components/Generator/internal/Preview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/components/Generator/internal/Preview.tsx b/website/src/components/Generator/internal/Preview.tsx index 8ef2adb..4af9563 100644 --- a/website/src/components/Generator/internal/Preview.tsx +++ b/website/src/components/Generator/internal/Preview.tsx @@ -92,7 +92,7 @@ export const Preview = React.forwardRef(({}: Props, deckRef: any) => { .domain([ "1", geoData.cantons?.features?.length - ? `${geoData?.cantons?.features?.length}` + ? `${geoData.cantons.features.length}` : "30", ]) .range(color)