mirror of
https://github.com/kremalicious/umami.git
synced 2024-09-27 11:48:48 +02:00
27 lines
732 B
JavaScript
27 lines
732 B
JavaScript
|
import Page from 'components/layout/Page';
|
||
|
import FunnelChart from './FunnelChart';
|
||
|
import FunnelForm from './FunnelForm';
|
||
|
|
||
|
export default function FunnelPage() {
|
||
|
function handleOnSearch() {
|
||
|
// do API CALL to api/reports/funnel to get funnelData
|
||
|
// Get DATA
|
||
|
}
|
||
|
|
||
|
return (
|
||
|
<Page>
|
||
|
funnelPage
|
||
|
{/* <ReportForm /> */}
|
||
|
<FunnelForm onSearchClick={handleOnSearch} /> website / start/endDate urls: []
|
||
|
<FunnelChart />
|
||
|
{/* {!chartLoaded && <Loading icon="dots" style={{ minHeight: 300 }} />}
|
||
|
{chartLoaded && (
|
||
|
<>
|
||
|
{!view && <WebsiteTableView websiteId={websiteId} />}
|
||
|
{view && <WebsiteMenuView websiteId={websiteId} />}
|
||
|
</>
|
||
|
)} */}
|
||
|
</Page>
|
||
|
);
|
||
|
}
|