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.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fixed website undefined issue.
Mike Caoc567eddff99c
diff --git a/pages/realtime/[id]/index.js b/pages/realtime/[id]/index.jsindex ba13ded36..c9e82622d 100644--- a/pages/realtime/[id]/index.js+++ b/pages/realtime/[id]/index.js@@ -9,9 +9,9 @@ export default function RealtimeDetailsPage() {const { id: websiteId } = router.query;const { formatMessage, labels } = useMessages();const { get, useQuery } = useApi();- const { data: website } = useQuery(['websites', websiteId], () =>- websiteId ? get(`/websites/${websiteId}`, { enabled: !!websiteId }) : null,- );+ const { data: website } = useQuery(['websites', websiteId], () => get(`/websites/${websiteId}`), {+ enabled: !!websiteId,+ });const title = `${formatMessage(labels.realtime)}${website?.name ? ` - ${website.name}` : ''}`;if (!websiteId) {