Skip to content

Commit 9cfe6b2

Browse files
author
Vincent van der Wal
committed
cast to string
1 parent 56a970d commit 9cfe6b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export interface IconListPixels {
8787
const iconListPixelsSource: IconListPixels = {};
8888

8989
for (let [i, map] of Object.entries(mapping)) {
90-
if ([18, 27, 28, 29, 54, 55, 56, 74, 75, 76, 78, 99].includes(i)) {
90+
if (['18', '27', '28', '29', '54', '55', '56', '74', '75', '76', '78', '99'].includes(i)) {
9191
iconListPixelsSource[i] = `images/weather-icons/wi-${map}.svg`;
9292
} else {
9393
iconListPixelsSource[i] = `images/weather-icons/wi-day-${map}.svg`;

0 commit comments

Comments
 (0)