Skip to content

Commit

Permalink
fix(client): Missing useCallback dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
clementprdhomme committed Nov 22, 2024
1 parent f9978de commit 62c484c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/dataset-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const DatasetCard = ({ id, name, defaultLayerId, layers, metadata }: DatasetCard
link.href = URL.createObjectURL(blob);
link.click();
link.remove();
}, [name, metadata, chartData, chartIsLoading, selectedDate]);
}, [chartIsLoading, chartData, locationIsLoading, locationData, selectedDate, name, metadata]);

// When the layer is animated, show each month of the year in a loop
useEffect(() => {
Expand Down

0 comments on commit 62c484c

Please sign in to comment.