Skip to content

Commit 028db2a

Browse files
committed
.
.
1 parent 14dcab2 commit 028db2a

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

website/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
.direnv/
21
.next/
32
node_modules/
43

54
public/swiss-maps/
65

6+
next-env.d.ts
77
tsconfig.tsbuildinfo

website/next-env.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

website/src/components/Generator/internal/Preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export const Preview = React.forwardRef(({}: Props, deckRef: any) => {
8686
}
8787
const index = new Int32Array(cantons ? cantons.features.length : 0);
8888
for (let i = 0; i < index.length; ++i) {
89-
index[i] = ((d3.max(neighbors[i], (j) => index[j]) as number) + 1) | 0;
89+
index[i] = ((d3.max(neighbors[i], (j: number) => index[j]) as number) + 1) | 0;
9090
}
9191
return index;
9292
})();

0 commit comments

Comments
 (0)