Skip to content

Commit 07458cd

Browse files
refactor: remove useless params
1 parent f9df614 commit 07458cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/map.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ParisMap {
3434

3535
#draw() {
3636
this.#resize();
37-
this.#drawParis({ arrondissements: this.#arrondissements, projection: this.#projection, g: this.#g, svg: this.#svg });
37+
this.#drawParis();
3838
}
3939

4040
#remove() {
@@ -81,7 +81,7 @@ class ParisMap {
8181
#resize() {
8282
const width = Number.parseInt(this.#svg.style('width'));
8383
const height = width * 0.625;
84-
this.#projection
84+
this.#projection = this.#projection
8585
.center(PARIS_COORDINATES)
8686
.scale(this.#scale(height))
8787
.translate([width / 2, height / 2]);

0 commit comments

Comments
 (0)