Skip to content

Commit

Permalink
fix: const assignment, styles, scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Jun 30, 2024
1 parent de11289 commit 0e35f6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"dev": "run-p -rl 'vite build --watch --mode development --minify false' serve:firefox",
"dev": "run-p -rl build:dev serve:firefox",
"build": "vite build",
"build:dev": "vite build --watch --mode development --minify false",
"serve:firefox": "web-ext run -s dist",
"serve:chromium": "web-ext run -t chromium -s dist",
"bundle": "web-ext build -s dist -a out --overwrite-dest -n replace_maps.zip",
Expand Down
2 changes: 1 addition & 1 deletion src/map/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const gZoom = 'z'
const params = new URLSearchParams(document.location.search)

/** @type {MapData} */
const mapData = {}
let mapData = {}

if (params.has(gPos)) {
mapData = await readPB(params.get(gPos))
Expand Down
1 change: 1 addition & 0 deletions src/styles/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,5 @@ input[type='text'] {
}
input[type='submit'] {
width: 20%;
text-align: center;
}

0 comments on commit 0e35f6d

Please sign in to comment.