fix export report route

This commit is contained in:
Francis Cao committed 2025-07-22 11:10:37 -07:00
1 parent 7670ec4136
commit 6d124e7bb0
2 files changed
+12 -12

No files matched your search

@@ -12,7 +12,9 @@ export function ReportBody({ children }) {
return (
<div className={styles.body}>
<DownloadButton filename={report.name} data={report.data} />
{report.type !== 'revenue' && report.type !== 'attribution' && (
<DownloadButton filename={report.name} data={report.data} />
)}
{children}
</div>
);