Fixed the NOT bugs as reported by a eslint

merge-requests/203/head
Tag 2022-09-19 17:42:20 -07:00
rodzic 19d22940db
commit b43b31e656
2 zmienionych plików z 21 dodań i 20 usunięć

Wyświetl plik

@ -89,7 +89,6 @@ function makeParkFeature(park, active)
}
feature.key = park;
feature.size = 1;
}
}
catch (e)
@ -142,8 +141,10 @@ function getPotaParks()
function uniqueArrayFromArray(input)
{
let unique = [];
input.forEach((c) => {
if (!unique.includes(c)) {
input.forEach((c) =>
{
if (!unique.includes(c))
{
unique.push(c);
}
});