mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 03:25:40 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -6,7 +6,7 @@ import DataTable from 'components/metrics/DataTable';
|
|||
import { FILTER_PAGES, FILTER_REFERRERS } from 'lib/constants';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function RealtimeUrls({ websiteDomain, data = {} }) {
|
||||
export function RealtimeUrls({ websiteDomain, data = {} }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { pageviews } = data;
|
||||
const [filter, setFilter] = useState(FILTER_REFERRERS);
|
||||
|
|
@ -97,3 +97,5 @@ export default function RealtimeUrls({ websiteDomain, data = {} }) {
|
|||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default RealtimeUrls;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue