mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-30 15:58:11 +01:00
14 lines
338 B
JavaScript
14 lines
338 B
JavaScript
import FunnelReport from './funnel/FunnelReport';
|
|
import EventDataReport from './event-data/EventDataReport';
|
|
|
|
const reports = {
|
|
funnel: FunnelReport,
|
|
'event-data': EventDataReport,
|
|
};
|
|
|
|
export default function ReportDetails({ reportId, reportType }) {
|
|
const Report = reports[reportType];
|
|
|
|
return <Report reportId={reportId} />;
|
|
}
|