Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
zbycz committed Oct 7, 2024
1 parent c999eee commit 5f7712b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const PublicTransportInner = () => {
source?.setData(data.geoJson);

return () => {
source?.setData(EMPTY_GEOJSON_SOURCE.data);
source?.setData({ type: 'FeatureCollection', features: [] });
};
}, [data]);

Expand Down

0 comments on commit 5f7712b

Please sign in to comment.