Skip to content

Commit

Permalink
Merge branch 'main' into combined-prs-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Shebuka authored Aug 15, 2023
2 parents a702ad9 + 7829a50 commit b0beceb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/canvas-grid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function CanvasGrid(props) {
const canvasEle = canvas.current;

if (!canvasEle) {
return true;
return;
}

canvasEle.width = canvasEle.clientWidth;
Expand Down
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 b0beceb

Please sign in to comment.