mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
replaced Container with the Row
This commit is contained in:
parent
f7b902cfd9
commit
7b7c0e1e2c
1 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Container, Loading, Text } from '@umami/react-zen';
|
||||
import { Loading, Row, Text } from '@umami/react-zen';
|
||||
import { useWebsiteStatsQuery } from '@/components/hooks';
|
||||
|
||||
interface UniqueSessionsProps {
|
||||
|
|
@ -22,19 +22,19 @@ const UniqueSessions = ({ websiteId }: UniqueSessionsProps) => {
|
|||
}
|
||||
|
||||
return (
|
||||
<Text size="5" className="text-white mr-3" weight="bold">
|
||||
<Text size="5" weight="bold">
|
||||
{data?.visitors ?? 0}
|
||||
</Text>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<Container className="flex items-center gap-8">
|
||||
<Row alignItems="center" gap="3">
|
||||
<Text size="5" color="gray">
|
||||
Unique Sessions:
|
||||
</Text>
|
||||
{renderContent()}
|
||||
</Container>
|
||||
</Row>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue