add dropoff percentages to funnel report

This commit is contained in:
Francis Cao committed 2023-07-21 00:14:37 -07:00
1 parent 94967d45e1
commit 858f465566
5 files changed
+15 -7

No files matched your search

@@ -6,13 +6,12 @@ import { ReportContext } from '../Report';
export function FunnelTable() {
const { report } = useContext(ReportContext);
const { formatMessage, labels } = useMessages();
return (
<DataTable
data={report?.data}
title={formatMessage(labels.url)}
metric={formatMessage(labels.visitors)}
showPercentage={false}
showPercentage={true}
/>
);
}