Skip to content

Commit a48bae0

Browse files
committed
Add fixme in RiskImminentEvents for source prop
1 parent 0317ce1 commit a48bae0

File tree

1 file changed

+2
-0
lines changed
  • app/src/components/domain/RiskImminentEventMap

1 file changed

+2
-0
lines changed

app/src/components/domain/RiskImminentEventMap/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ type Footprint = GeoJSON.FeatureCollection<GeoJSON.Geometry, RiskLayerProperties
103103
type ImminentEventSource = 'pdc' | 'wfpAdam' | 'gdacs' | 'meteoSwiss';
104104

105105
interface Props<EVENT, EXPOSURE, KEY extends string | number> {
106+
// FIXME: use props for configuration rather than
107+
// passing source here
106108
source: ImminentEventSource;
107109
events: EVENT[] | undefined;
108110
keySelector: (event: EVENT) => KEY;

0 commit comments

Comments
 (0)