Skip to content

Commit

Permalink
fix: remove event report due to umami v2 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiu8081 committed Apr 24, 2023
1 parent a845dad commit 5e98986
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/Generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ export default () => {
if (!inputValue)
return

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
if (window?.umami) umami.trackEvent('chat_generate')
inputRef.value = ''
setMessageList([
...messageList(),
Expand Down

0 comments on commit 5e98986

Please sign in to comment.