mirror of
https://github.com/umami-software/umami.git
synced 2026-02-22 21:45:36 +01:00
Updated cities table.
This commit is contained in:
parent
c22fefaa2d
commit
bb77c2ead6
8 changed files with 52 additions and 23 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { useContext } from 'react';
|
||||
import DataTable from 'components/metrics/DataTable';
|
||||
import ListTable from 'components/metrics/ListTable';
|
||||
import { useMessages } from 'components/hooks';
|
||||
import { ReportContext } from '../Report';
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ export function FunnelTable() {
|
|||
const { report } = useContext(ReportContext);
|
||||
const { formatMessage, labels } = useMessages();
|
||||
return (
|
||||
<DataTable
|
||||
<ListTable
|
||||
data={report?.data}
|
||||
title={formatMessage(labels.url)}
|
||||
metric={formatMessage(labels.visitors)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue