Skip to content

Commit

Permalink
Merge branch 'main' into fix-rigs-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Shebuka authored Aug 15, 2023
2 parents 312538e + 7829a50 commit 7705243
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/data/maps.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"maxZoom": 5,
"transform": [0.38, 0, 0.38, 0],
"coordinateRotation": 180,
"bounds": [[340, 0], [-320, 520]],
"bounds": [[324, -215], [-279, 548]],
"author": "Shebuka",
"authorLink": "https://github.com/TarkovTracker/tarkovdata/",
"svgPath": "https://assets.tarkov.dev/maps/svg/StreetsOfTarkov.svg"
"svgPath": "https://assets.tarkov.dev/maps/svg/StreetsOfTarkov-0.13.5.svg"
},
{
"key": "streets-3d",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/ammo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ function Ammo() {
const { t } = useTranslation();

useEffect(() => {
if (currentAmmo === []) {
if (!currentAmmo || !currentAmmo.length) {
setSelectedLegendName([]);

return true;
return;
}

if (currentAmmo) {
Expand Down

0 comments on commit 7705243

Please sign in to comment.