Skip to content

Commit ceb6ac2

Browse files
committed
add feature flag to effect
1 parent d8da3c0 commit ceb6ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-app/src/app/components/CoveredAreaMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const CoveredAreaMap: React.FC<CoveredAreaMapProps> = ({
128128
}
129129
setGeoJsonData(null);
130130
setGeoJsonError(config.enableDetailedCoveredArea);
131-
}, [latestDataset, feed]);
131+
}, [latestDataset, feed, config.enableDetailedCoveredArea]);
132132

133133
// effect to determine which view to display
134134
useEffect(() => {

0 commit comments

Comments
 (0)