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)