From dcbdc43a4bba3b8a461fc0dbac2e8ee62ef9f03f Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Thu, 27 Jun 2024 10:41:07 -0700
Subject: Make vars const
---
src/radial.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 'src')
diff --git a/src/radial.js b/src/radial.js
index 41dbe67..a4e8370 100644
--- a/src/radial.js
+++ b/src/radial.js
@@ -326,7 +326,7 @@ mapsheet4BuildingCoords.forEach(building => {
const gameboard = svg.querySelector('.gameboard');
-let mapsheet1 = {
+const mapsheet1 = {
id: 'mapsheet1',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -378,7 +378,7 @@ let mapsheet1 = {
]
};
-let mapsheet2 = {
+const mapsheet2 = {
id: 'mapsheet2',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -427,7 +427,7 @@ let mapsheet2 = {
]
};
-let mapsheet3 = {
+const mapsheet3 = {
id: 'mapsheet3',
grid: new Map(mapsheetHexCoords),
buildings: [
@@ -476,7 +476,7 @@ let mapsheet3 = {
]
};
-let mapsheet4 = {
+const mapsheet4 = {
id: 'mapsheet4',
grid: new Map(mapsheetHexCoords),
buildings: [
--
cgit v1.2.3