Removed delete db row temp code
This commit is contained in:
@@ -66,13 +66,6 @@ function MapTiles() {
|
||||
}
|
||||
});
|
||||
});
|
||||
const temp: string[] = [];
|
||||
_airports.forEach((airport) => {
|
||||
if (!airport.metar) {
|
||||
temp.push(airport.icao);
|
||||
}
|
||||
});
|
||||
console.log(`delete from airports where icao = ANY('{${temp}}'::text[]);`);
|
||||
setAirports(_airports);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user