mirror of
https://github.com/umami-software/umami.git
synced 2026-05-30 06:47:25 +00:00
Merge branch 'analytics' of https://github.com/umami-software/umami into dev
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { StatusLight, Text } from '@umami/react-zen';
|
||||
import { useMemo } from 'react';
|
||||
import { LinkButton } from '@/components/common/LinkButton';
|
||||
import { useActyiveUsersQuery, useMessages } from '@/components/hooks';
|
||||
|
||||
export function ActiveUsers({
|
||||
@@ -28,12 +27,10 @@ export function ActiveUsers({
|
||||
}
|
||||
|
||||
return (
|
||||
<LinkButton href={`/websites/${websiteId}/realtime`} variant="quiet">
|
||||
<StatusLight variant="success">
|
||||
<Text size="sm" weight="medium">
|
||||
{count} {t(labels.online)}
|
||||
</Text>
|
||||
</StatusLight>
|
||||
</LinkButton>
|
||||
<StatusLight variant="success">
|
||||
<Text size="sm" weight="medium">
|
||||
{count} {t(labels.online)}
|
||||
</Text>
|
||||
</StatusLight>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user