diff --git a/website/src/components/Generator/internal/Preview.tsx b/website/src/components/Generator/internal/Preview.tsx index 39a4b51..8ef2adb 100644 --- a/website/src/components/Generator/internal/Preview.tsx +++ b/website/src/components/Generator/internal/Preview.tsx @@ -91,7 +91,7 @@ export const Preview = React.forwardRef(({}: Props, deckRef: any) => { // if not exist, a random number 30 is assigned .domain([ "1", - geoData?.cantons?.features?.length + geoData.cantons?.features?.length ? `${geoData?.cantons?.features?.length}` : "30", ])