Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

disable active link

Francis Cao28cfcd0c802e
diff --git a/src/components/metrics/ActiveUsers.tsx b/src/components/metrics/ActiveUsers.tsx
index fda0ba2a4..2baf3357c 100644
--- a/src/components/metrics/ActiveUsers.tsx
+++ b/src/components/metrics/ActiveUsers.tsx
@@ -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>
);
}