Skip to content

Commit 0e35f6d

Browse files
committed
fix: const assignment, styles, scripts
1 parent de11289 commit 0e35f6d

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
"test": "vitest run",
2222
"test:watch": "vitest",
2323
"test:cov": "vitest run --coverage",
24-
"dev": "run-p -rl 'vite build --watch --mode development --minify false' serve:firefox",
24+
"dev": "run-p -rl build:dev serve:firefox",
2525
"build": "vite build",
26+
"build:dev": "vite build --watch --mode development --minify false",
2627
"serve:firefox": "web-ext run -s dist",
2728
"serve:chromium": "web-ext run -t chromium -s dist",
2829
"bundle": "web-ext build -s dist -a out --overwrite-dest -n replace_maps.zip",

src/map/map.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const gZoom = 'z'
3030
const params = new URLSearchParams(document.location.search)
3131

3232
/** @type {MapData} */
33-
const mapData = {}
33+
let mapData = {}
3434

3535
if (params.has(gPos)) {
3636
mapData = await readPB(params.get(gPos))

src/styles/options.css

+1
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,5 @@ input[type='text'] {
9696
}
9797
input[type='submit'] {
9898
width: 20%;
99+
text-align: center;
99100
}

0 commit comments

Comments
 (0)