mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
17 lines
402 B
JavaScript
17 lines
402 B
JavaScript
import MetricsTable from './MetricsTable';
|
|
import useMessages from 'hooks/useMessages';
|
|
|
|
export default function ScreenTable({ websiteId, ...props }) {
|
|
const { formatMessage, labels } = useMessages();
|
|
|
|
return (
|
|
<MetricsTable
|
|
{...props}
|
|
title={formatMessage(labels.screens)}
|
|
type="screen"
|
|
metric={formatMessage(labels.visitors)}
|
|
websiteId={websiteId}
|
|
/>
|
|
);
|
|
}
|