Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Mike Cao 2025-07-21 00:46:12 -07:00 committed by GitHub
parent 2c0b7a6408
commit 60c310fd77
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
};