update maps path
This commit is contained in:
@@ -39,7 +39,7 @@ export const getColor = (temperature: number, unit = 'celsius'): string => {
|
||||
temperature = Math.round(((temperature - 32) * 5) / 9);
|
||||
}
|
||||
|
||||
let index = 0;
|
||||
let index: number;
|
||||
if (temperature <= -40) {
|
||||
index = 0;
|
||||
} else if (temperature >= 60) {
|
||||
|
||||
Reference in New Issue
Block a user