Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fix DownloadButton to avoid duplicate downloadCsv call
Mike Caoa6e130ab2e20
diff --git a/src/components/input/DownloadButton.tsx b/src/components/input/DownloadButton.tsxindex b9e2a5f63..9fd46c0b0 100644--- a/src/components/input/DownloadButton.tsx+++ b/src/components/input/DownloadButton.tsx@@ -14,9 +14,6 @@ export function DownloadButton({const { formatMessage, labels } = useMessages();const handleClick = async () => {- const handleClick = async () => {- downloadCsv(`${filename}.csv`, Papa.unparse(data));- };downloadCsv(`${filename}.csv`, Papa.unparse(data));};