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,6 +1,6 @@
|
|||
import { useCallback } from 'react';
|
||||
import { useRouter } from 'next/router';
|
||||
import DataTable from 'components/metrics/DataTable';
|
||||
import ListTable from 'components/metrics/ListTable';
|
||||
import useLocale from 'components/hooks/useLocale';
|
||||
import useCountryNames from 'components/hooks/useCountryNames';
|
||||
import useMessages from 'components/hooks/useMessages';
|
||||
|
|
@ -24,7 +24,7 @@ export function RealtimeCountries({ data }) {
|
|||
);
|
||||
|
||||
return (
|
||||
<DataTable
|
||||
<ListTable
|
||||
title={formatMessage(labels.countries)}
|
||||
metric={formatMessage(labels.visitors)}
|
||||
data={data}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue