Establish frontend type checking
This commit is contained in:
@@ -63,6 +63,7 @@ export const CsvMapData: Component<{
|
||||
[img, arrowImg],
|
||||
getCityData(),
|
||||
tmpWindData,
|
||||
['', ''],
|
||||
resolutionProps.map_3840x1440_wind,
|
||||
)
|
||||
}
|
||||
@@ -77,4 +78,4 @@ export const CsvMapData: Component<{
|
||||
style={{ 'width': '1000px', 'height': '374px' }}
|
||||
/>
|
||||
</>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ export function Faktiska() {
|
||||
next[observation.city] = observation.value == null ? "" : observation.value.toString();
|
||||
});
|
||||
setValues(next);
|
||||
setOverrides(new Set());
|
||||
setOverrides(new Set<FaktiskaStation>());
|
||||
});
|
||||
|
||||
const observationsByCity = () => new Map((latest() ?? []).map(item => [item.city, item]));
|
||||
|
||||
Reference in New Issue
Block a user