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.

Apply suggestion from @greptile-apps[bot]

Mike Cao60c310fd7732
diff --git a/src/app/(main)/websites/[websiteId]/events/EventsPage.tsx b/src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
index 259e77be7..46970b518 100644
--- a/src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
+++ b/src/app/(main)/websites/[websiteId]/events/EventsPage.tsx
@@ -20,7 +20,7 @@ export default function EventsPage({ websiteId }) {
setLabel(value !== label ? value : '');
};
- const onSelect = (value: any) => {
+ const onSelect = (value: 'activity' | 'properties') => {
setItem('eventTab', value);
setTab(value);
};